|
Eclipse JDT Release 3.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IConstantPoolEntry
Description of a constant pool entry as described in the JVM specifications. Its contents is initialized according to its kind. This interface may be implemented by clients.
| Method Summary | |
|---|---|
int |
getClassIndex()
Returns the class index for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref type entry. |
char[] |
getClassInfoName()
Returns the class name for a CONSTANT_Class type entry. |
int |
getClassInfoNameIndex()
Returns the name index for a CONSTANT_Class type entry. |
char[] |
getClassName()
Returns the class name for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref type entry. |
double |
getDoubleValue()
Returns the double value for a CONSTANT_Double type entry. |
char[] |
getFieldDescriptor()
Returns the field descriptor value for a CONSTANT_Fieldref type entry. |
char[] |
getFieldName()
Returns the field name for a CONSTANT_Fieldref type entry. |
float |
getFloatValue()
Returns the float value for a CONSTANT_Float type entry. |
int |
getIntegerValue()
Returns the integer value for a CONSTANT_Integer type entry. |
int |
getKind()
Returns the type of this entry. |
long |
getLongValue()
Returns the long value for a CONSTANT_Long type entry. |
char[] |
getMethodDescriptor()
Returns the method descriptor value for a CONSTANT_Methodref or CONSTANT_InterfaceMethodref type entry. |
char[] |
getMethodName()
Returns the field name for a CONSTANT_Methodref, CONSTANT_InterfaceMethodref or CONSTANT_InvokeDynamic type entry. |
int |
getNameAndTypeIndex()
Returns the nameAndType index for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref, CONSTANT_InvokeDynamic type entry. |
int |
getNameAndTypeInfoDescriptorIndex()
Returns the descriptor index for a CONSTANT_NameAndType type entry. |
int |
getNameAndTypeInfoNameIndex()
Returns the name index for a CONSTANT_NameAndType type entry. |
int |
getStringIndex()
Returns the string index for a CONSTANT_String type entry. |
String |
getStringValue()
Returns the string value for a CONSTANT_String type entry. |
int |
getUtf8Length()
Returns the utf8 length for a CONSTANT_Utf8 type entry. |
char[] |
getUtf8Value()
Returns the utf8 value for a CONSTANT_Utf8 type entry. |
| Method Detail |
|---|
int getKind()
int getClassInfoNameIndex()
IConstantPoolConstant.CONSTANT_Classint getClassIndex()
IConstantPoolConstant.CONSTANT_Fieldref,
IConstantPoolConstant.CONSTANT_Methodref,
IConstantPoolConstant.CONSTANT_InterfaceMethodrefint getNameAndTypeIndex()
IConstantPoolConstant.CONSTANT_Fieldref,
IConstantPoolConstant.CONSTANT_Methodref,
IConstantPoolConstant.CONSTANT_InterfaceMethodref,
IConstantPoolConstant.CONSTANT_InvokeDynamicint getStringIndex()
IConstantPoolConstant.CONSTANT_StringString getStringValue()
IConstantPoolConstant.CONSTANT_Stringint getIntegerValue()
IConstantPoolConstant.CONSTANT_Integerfloat getFloatValue()
IConstantPoolConstant.CONSTANT_Floatdouble getDoubleValue()
IConstantPoolConstant.CONSTANT_Doublelong getLongValue()
IConstantPoolConstant.CONSTANT_Longint getNameAndTypeInfoDescriptorIndex()
IConstantPoolConstant.CONSTANT_NameAndTypeint getNameAndTypeInfoNameIndex()
IConstantPoolConstant.CONSTANT_NameAndTypechar[] getClassInfoName()
IConstantPoolConstant.CONSTANT_Classchar[] getClassName()
IConstantPoolConstant.CONSTANT_Fieldref,
IConstantPoolConstant.CONSTANT_Methodref,
IConstantPoolConstant.CONSTANT_InterfaceMethodrefchar[] getFieldName()
IConstantPoolConstant.CONSTANT_Fieldrefchar[] getMethodName()
IConstantPoolConstant.CONSTANT_Methodref,
IConstantPoolConstant.CONSTANT_InterfaceMethodref,
IConstantPoolConstant.CONSTANT_InvokeDynamicchar[] getFieldDescriptor()
IConstantPoolConstant.CONSTANT_Fieldrefchar[] getMethodDescriptor()
IConstantPoolConstant.CONSTANT_Methodref,
IConstantPoolConstant.CONSTANT_InterfaceMethodref,
IConstantPoolConstant.CONSTANT_MethodType,
IConstantPoolConstant.CONSTANT_InvokeDynamicchar[] getUtf8Value()
IConstantPoolConstant.CONSTANT_Utf8int getUtf8Length()
IConstantPoolConstant.CONSTANT_Utf8
|
Eclipse JDT Release 3.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2012 IBM Corporation and others. All rights reserved.