Package jminusminus
Class CLConstantClassInfo
java.lang.Object
jminusminus.CLCPInfo
jminusminus.CLConstantClassInfo
Representation of CONSTANT_Class_info structure.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this CLCPInfo object is the same as other, and false otherwise.void
write
(CLOutputStream out) Writes the contents of this constant pool item to the specified output stream.
-
Field Details
-
nameIndex
public int nameIndexCONSTANT_Class_info.name_index item.
-
-
Constructor Details
-
CLConstantClassInfo
public CLConstantClassInfo(int nameIndex) Constructs a CLConstantClassInfo object.- Parameters:
nameIndex
- CONSTANT_Class_info.name_index item.
-
-
Method Details
-
write
Writes the contents of this constant pool item to the specified output stream.- Overrides:
write
in classCLCPInfo
- Parameters:
out
- output stream.- Throws:
IOException
- if an error occurs while writing.
-
equals
Return true if this CLCPInfo object is the same as other, and false otherwise.
-