org.fife.rsta.ac.java.classreader.constantpool
Class ConstantUtf8Info
java.lang.Object
org.fife.rsta.ac.java.classreader.constantpool.ConstantPoolInfo
org.fife.rsta.ac.java.classreader.constantpool.ConstantUtf8Info
public class ConstantUtf8Info
- extends ConstantPoolInfo
Class representing a CONSTANT_Utf8_info structure.
- Version:
- 1.0
- Author:
- Robert Futrell
CONSTANT_Class
public static final int CONSTANT_Class
- See Also:
- Constant Field Values
CONSTANT_Fieldref
public static final int CONSTANT_Fieldref
- See Also:
- Constant Field Values
CONSTANT_Methodref
public static final int CONSTANT_Methodref
- See Also:
- Constant Field Values
CONSTANT_InterfaceMethodref
public static final int CONSTANT_InterfaceMethodref
- See Also:
- Constant Field Values
CONSTANT_String
public static final int CONSTANT_String
- See Also:
- Constant Field Values
CONSTANT_Integer
public static final int CONSTANT_Integer
- See Also:
- Constant Field Values
CONSTANT_Float
public static final int CONSTANT_Float
- See Also:
- Constant Field Values
CONSTANT_Long
public static final int CONSTANT_Long
- See Also:
- Constant Field Values
CONSTANT_Double
public static final int CONSTANT_Double
- See Also:
- Constant Field Values
CONSTANT_NameAndType
public static final int CONSTANT_NameAndType
- See Also:
- Constant Field Values
CONSTANT_Utf8
public static final int CONSTANT_Utf8
- See Also:
- Constant Field Values
ConstantUtf8Info
public ConstantUtf8Info(byte[] bytes)
- Constructor.
- Parameters:
nameIndex - descriptorIndex -
getRepresentedString
public 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 String toString()
- Returns a string representation of this object. Useful for debugging.
- Overrides:
toString in class Object
- Returns:
- A string representation of this object.
Copyright © 2003-2011. All Rights Reserved.