public abstract class ConstantCP extends Constant
Modifier and Type | Field and Description |
---|---|
protected int |
classIndex |
protected int |
nameAndTypeIndex |
Modifier | Constructor and Description |
---|---|
protected |
ConstantCP(byte tag,
int classIndex,
int nameAndTypeIndex) |
Modifier and Type | Method and Description |
---|---|
void |
dump(java.io.DataOutputStream file) |
java.lang.String |
getClass(ConstantPool cp) |
int |
getClassIndex() |
int |
getNameAndTypeIndex() |
java.lang.String |
toString() |
public final void dump(java.io.DataOutputStream file) throws java.io.IOException
public final int getClassIndex()
public final int getNameAndTypeIndex()
public java.lang.String getClass(ConstantPool cp)