Package jminusminus
Class CLConstantUtf8Info
java.lang.Object
jminusminus.CLCPInfo
jminusminus.CLConstantUtf8Info
Representation of CONSTANT_Utf8_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.int
length()
Returns CONSTANT_Utf8_info.length item.void
write
(CLOutputStream out) Writes the contents of this constant pool item to the specified output stream.
-
Field Details
-
b
public byte[] bCONSTANT_Utf8_info.bytes item.
-
-
Constructor Details
-
CLConstantUtf8Info
public CLConstantUtf8Info(byte[] b) Constructs a CLConstantUtf8Info object.- Parameters:
b
- a constant string value.
-
-
Method Details
-
length
public int length()Returns CONSTANT_Utf8_info.length item.- Returns:
- CONSTANT_Utf8_info.length item.
-
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.
-