org.fife.rsta.ac.java.classreader.constantpool
Class ConstantClassInfo
java.lang.Object
org.fife.rsta.ac.java.classreader.constantpool.ConstantPoolInfo
org.fife.rsta.ac.java.classreader.constantpool.ConstantClassInfo
public class ConstantClassInfo
- extends ConstantPoolInfo
Represents a class or interface.
- Version:
- 1.0
- Author:
- Robert Futrell
|
Method Summary |
int |
getNameIndex()
Returns the index into the constant pool table for a
ConstantUtf8Info structure representing a valid,
fully-qualified class or interface name, encoded in internal form. |
String |
toString()
Returns a string representation of this object. |
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
ConstantClassInfo
public ConstantClassInfo(int nameIndex)
- Constructor.
- Parameters:
nameIndex - The index into the constant pool containing a
ConstantUtf8Info representing the fully-qualified
class or interface name, encoded in internal form.
getNameIndex
public int getNameIndex()
- Returns the index into the constant pool table for a
ConstantUtf8Info structure representing a valid,
fully-qualified class or interface name, encoded in internal form.
- Returns:
- The index into the constant pool table.
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.