Class ConstantUtf8Info
- java.lang.Object
-
- org.fife.rsta.ac.java.classreader.constantpool.ConstantPoolInfo
-
- org.fife.rsta.ac.java.classreader.constantpool.ConstantUtf8Info
-
- All Implemented Interfaces:
ConstantTypes
public class ConstantUtf8Info extends ConstantPoolInfo
Class representing aCONSTANT_Utf8_infostructure.- Version:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringrepresentedString-
Fields inherited from interface org.fife.rsta.ac.java.classreader.constantpool.ConstantTypes
CONSTANT_Class, CONSTANT_Double, CONSTANT_Fieldref, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodref, CONSTANT_InvokeDynamic, CONSTANT_Long, CONSTANT_MethodHandle, CONSTANT_Methodref, CONSTANT_MethodType, CONSTANT_NameAndType, CONSTANT_String, CONSTANT_Utf8
-
-
Constructor Summary
Constructors Constructor Description ConstantUtf8Info(byte[] bytes)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.StringcreateRepresentedString(byte[] bytes)java.lang.StringgetRepresentedString(boolean quoted)Returns the string represented by this info.java.lang.StringtoString()Returns a string representation of this object.-
Methods inherited from class org.fife.rsta.ac.java.classreader.constantpool.ConstantPoolInfo
getTag
-
-
-
-
Method Detail
-
createRepresentedString
private java.lang.String createRepresentedString(byte[] bytes)
-
getRepresentedString
public java.lang.String getRepresentedString(boolean quoted)
Returns the string represented by this info.- Parameters:
quoted- Whether to add enclosing quotation marks, and "escape" any quotation marks in the represented string.- Returns:
- The string represented.
-
toString
public java.lang.String toString()
Returns a string representation of this object. Useful for debugging.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of this object.
-
-