| |
|
| java.lang.Object classycle.classfile.Constant classycle.classfile.ClassConstant
ClassConstant | public class ClassConstant extends Constant (Code) | | Class constant. Refers to an instance of
UTF8Constant which
holds the fully qualifies class name.
author: Franz-Josef Elmer |
Method Summary | |
public String | getName() Returns the fully-qualified class name. | public String | toString() Returns the constant type and the class name. |
ClassConstant | public ClassConstant(Constant[] pool, int nameIndex)(Code) | | Creates an instance for the specified index refering an
UTF8Constant .
Parameters: pool - Pool of all Constant Constants. Parameters: nameIndex - Index into pool. |
getName | public String getName()(Code) | | Returns the fully-qualified class name. In the case of an object array
only the class name of the object is returned.
fully-qualified class name in standard notation with '.'. |
toString | public String toString()(Code) | | Returns the constant type and the class name.
|
|
|
|