|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclassycle.classfile.Constant
classycle.classfile.ClassConstant
public class ClassConstant
Class constant. Refers to an instance of UTF8Constant
which
holds the fully qualifies class name.
Constructor Summary | |
---|---|
ClassConstant(Constant[] pool,
int nameIndex)
Creates an instance for the specified index refering an UTF8Constant . |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the fully-qualified class name. |
java.lang.String |
toString()
Returns the constant type and the class name. |
Methods inherited from class classycle.classfile.Constant |
---|
extractConstantPool, getConstant |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClassConstant(Constant[] pool, int nameIndex)
UTF8Constant
.
pool
- Pool of all Constants
.nameIndex
- Index into pool.Method Detail |
---|
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |