abstract class CLConstantMemberRefInfo extends CLCPInfo
Modifier and Type | Field and Description |
---|---|
int |
classIndex
CONSTANT_Memberref_info.class_index item.
|
int |
nameAndTypeIndex
CONSTANT_Memberref_info.name_and_type_index item.
|
Modifier | Constructor and Description |
---|---|
protected |
CLConstantMemberRefInfo(int classIndex,
int nameAndTypeIndex,
short tag)
Construct a CLConstantMemberRefInfo object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
void |
write(CLOutputStream out)
Write the contents of this constant pool item to the specified output
stream.
|
writeToStdOut
public int classIndex
public int nameAndTypeIndex
protected CLConstantMemberRefInfo(int classIndex, int nameAndTypeIndex, short tag)
classIndex
- CONSTANT_Memberref_info.class_index item.nameAndTypeIndex
- CONSTANT_Memberref_info.name_and_type_index item.tag
- CONSTANT_Memberref_info.tag item.public void write(CLOutputStream out) throws IOException
CLCPInfo
write
in class CLCPInfo
out
- output stream.IOException
- if an error occurs while writing.