public class ConstantStringInfo extends ConstantInfo
TAG_CLASS, TAG_DOUBLE, TAG_FIELD, TAG_FLOAT, TAG_INTEGER, TAG_INTERFACE_METHOD, TAG_LONG, TAG_METHOD, TAG_NAME_AND_TYPE, TAG_STRING, TAG_UTF8
Constructor and Description |
---|
ConstantStringInfo(ConstantPool cp,
String str) |
ConstantStringInfo(ConstantUTFInfo constant) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getValue() |
int |
hashCode() |
protected boolean |
hasPriority() |
String |
toString() |
void |
writeTo(DataOutput dout) |
getEntryCount, getIndex
public ConstantStringInfo(ConstantUTFInfo constant)
public ConstantStringInfo(ConstantPool cp, String str)
public String getValue()
protected boolean hasPriority()
hasPriority
in class ConstantInfo
public void writeTo(DataOutput dout) throws IOException
writeTo
in class ConstantInfo
IOException
Copyright © 2004-2015 Cojen. All Rights Reserved.