Package jminusminus
Class CLConstantNameAndTypeInfo
java.lang.Object
jminusminus.CLCPInfo
jminusminus.CLConstantNameAndTypeInfo
Representation of CONSTANT_NameAndType_info structure.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionintCONSTANT_NameAndType_info.descriptor_index item.intCONSTANT_NameAndType_info.name_index item.
- 
Constructor SummaryConstructorsConstructorDescriptionCLConstantNameAndTypeInfo(int nameIndex, int descriptorIndex) Constructs a CLConstantNameAndTypeInfo object.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturn true if this CLCPInfo object is the same as other, and false otherwise.voidwrite(CLOutputStream out) Writes the contents of this constant pool item to the specified output stream.
- 
Field Details- 
nameIndexpublic int nameIndexCONSTANT_NameAndType_info.name_index item.
- 
descriptorIndexpublic int descriptorIndexCONSTANT_NameAndType_info.descriptor_index item.
 
- 
- 
Constructor Details- 
CLConstantNameAndTypeInfopublic CLConstantNameAndTypeInfo(int nameIndex, int descriptorIndex) Constructs a CLConstantNameAndTypeInfo object.- Parameters:
- nameIndex- CONSTANT_NameAndType_info.name_index item.
- descriptorIndex- CONSTANT_NameAndType_info.descriptor_index item.
 
 
- 
- 
Method Details- 
writeWrites the contents of this constant pool item to the specified output stream.- Overrides:
- writein class- CLCPInfo
- Parameters:
- out- output stream.
- Throws:
- IOException- if an error occurs while writing.
 
- 
equalsReturn true if this CLCPInfo object is the same as other, and false otherwise.
 
-