|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JConstantClass
A JConstantClass object represents a CONSTANT_Class_info entry of a constant pool.
A CONSTANT_Class_info entry is used to represent a class or an interface. Among its items there is an index into the constant pool : it is a index to a CONSTANT_Utf8_info entry representing a valid fully qualified class or interface name.
JConstantPool| Field Summary |
|---|
| Fields inherited from interface fr.umlv.corosol.classfile.constant.JConstant |
|---|
CONSTANT_CLASS, CONSTANT_DOUBLE, CONSTANT_FIELDREF, CONSTANT_FLOAT, CONSTANT_INTEGER, CONSTANT_INTERFACE_METHODREF, CONSTANT_LONG, CONSTANT_METHODREF, CONSTANT_NAME_AND_TYPE, CONSTANT_STRING, CONSTANT_UTF8 |
| Method Summary | |
|---|---|
java.lang.String |
getClassName()
Returns the fully qualified class or interface name. |
int |
getNameIndex()
Returns the index of a CONSTANT_Utf8_info entry representing a valid fully qualified class or interface name. |
void |
setNameIndex(int nameIndex)
Sets the index of the CONSTANT_Utf8_info entry representing a valid fully qualified class or interface name. |
| Methods inherited from interface fr.umlv.corosol.classfile.constant.JConstant |
|---|
getLength, getTag, toString |
| Methods inherited from interface fr.umlv.corosol.classfile.JClassFileItem |
|---|
getConstantPool, readItem, setConstantPool, writeItem |
| Method Detail |
|---|
java.lang.String getClassName()
int getNameIndex()
void setNameIndex(int nameIndex)
nameIndex - the index of the entry containing the name of a class
or an interface
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||