public class ClassConstant extends Constant
UTF8Constant which
holds the fully qualifies class name.| Constructor and Description |
|---|
ClassConstant(Constant[] pool,
int nameIndex)
Creates an instance for the specified index refering an
UTF8Constant. |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the fully-qualified class name.
|
String |
toString()
Returns the constant type and the class name.
|
extractConstantPool, getConstantpublic ClassConstant(Constant[] pool, int nameIndex)
UTF8Constant.pool - Pool of all Constants.nameIndex - Index into pool.public String getName()
Copyright © 2014. All rights reserved.