Modifier and Type | Field and Description |
---|---|
private int | classIndex
Index into the constant pool for the class |
private String | fieldClassName
Name of the field's class |
private String | fieldName
name of the field in that class |
private String | fieldType
The type of the field |
private int | nameAndTypeIndex
Index into the constant pool for the name and type entry |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public String | Returns: the name of the class defining the fieldGets the name of the class defining the field |
public String | |
public String | |
public void | read(DataInputStream
the DataInputStream which contains the constant pool
entry to be read. cpStream)Implements abstract org. |
public void | resolve(ConstantPool
the constant pool of which this entry is a member
and against which this entry is to be resolved. constantPool)Overrides org. |
public String | Returns: the string representation of this constant pool entry.Overrides java. |
classIndex | back to summary |
---|---|
private int classIndex Index into the constant pool for the class |
fieldClassName | back to summary |
---|---|
private String fieldClassName Name of the field's class |
fieldName | back to summary |
---|---|
private String fieldName name of the field in that class |
fieldType | back to summary |
---|---|
private String fieldType The type of the field |
nameAndTypeIndex | back to summary |
---|---|
private int nameAndTypeIndex Index into the constant pool for the name and type entry |
FieldRefCPInfo | back to summary |
---|---|
public FieldRefCPInfo() Constructor. |
getFieldClassName | back to summary |
---|---|
public String getFieldClassName() Gets the name of the class defining the field
|
getFieldName | back to summary |
---|---|
public String getFieldName() Get the name of the field
|
getFieldType | back to summary |
---|---|
public String getFieldType() Get the type of the field
|
read | back to summary |
---|---|
public void read(DataInputStream cpStream) throws IOException Implements abstract org. read a constant pool entry from a class stream.
|
resolve | back to summary |
---|---|
public void resolve(ConstantPool constantPool) Overrides org. Resolve this constant pool entry with respect to its dependents in the constant pool.
|
toString | back to summary |
---|---|
public String toString() Overrides java. Print a readable version of the constant pool entry. |