Package jminusminus
Class CLCPInfo
java.lang.Object
jminusminus.CLCPInfo
- Direct Known Subclasses:
CLConstantClassInfo
,CLConstantDoubleInfo
,CLConstantFloatInfo
,CLConstantIntegerInfo
,CLConstantLongInfo
,CLConstantMemberRefInfo
,CLConstantNameAndTypeInfo
,CLConstantStringInfo
,CLConstantUtf8Info
Representation of cp_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
-
cpIndex
public int cpIndexIndex of this object in the constant pool. -
tag
public short tagcp_info.tag item.
-
-
Constructor Details
-
CLCPInfo
CLCPInfo()
-
-
Method Details
-
write
Writes the contents of this constant pool item to the specified output stream.- 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.
-