public class FieldRefConstant extends ConstantPoolEntry
Modifier and Type | Method and Description |
---|---|
int |
export(ConstantPool target)
Exports to the target pool.
|
int |
getClassIndex()
Returns the class index.
|
java.lang.String |
getClassName()
Returns the class name
|
java.lang.String |
getName()
Returns the field name
|
java.lang.String |
getType()
Returns the method type
|
void |
setClassIndex(int index)
Sets the class index.
|
void |
setNameAndType(java.lang.String name,
java.lang.String type)
Sets the method name and type
|
java.lang.String |
toString() |
getConstantPool, getIndex
public int getClassIndex()
public void setClassIndex(int index)
public java.lang.String getClassName()
public java.lang.String getName()
public java.lang.String getType()
public void setNameAndType(java.lang.String name, java.lang.String type)
public int export(ConstantPool target)
public java.lang.String toString()
toString
in class java.lang.Object