|
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_Class
int getClassIndex()
IConstantPoolConstant.CONSTANT_Fieldref
,
IConstantPoolConstant.CONSTANT_Methodref
,
IConstantPoolConstant.CONSTANT_InterfaceMethodref
int getNameAndTypeIndex()
IConstantPoolConstant.CONSTANT_Fieldref
,
IConstantPoolConstant.CONSTANT_Methodref
,
IConstantPoolConstant.CONSTANT_InterfaceMethodref
,
IConstantPoolConstant.CONSTANT_InvokeDynamic
int getStringIndex()
IConstantPoolConstant.CONSTANT_String
String getStringValue()
IConstantPoolConstant.CONSTANT_String
int getIntegerValue()
IConstantPoolConstant.CONSTANT_Integer
float getFloatValue()
IConstantPoolConstant.CONSTANT_Float
double getDoubleValue()
IConstantPoolConstant.CONSTANT_Double
long getLongValue()
IConstantPoolConstant.CONSTANT_Long
int getNameAndTypeInfoDescriptorIndex()
IConstantPoolConstant.CONSTANT_NameAndType
int getNameAndTypeInfoNameIndex()
IConstantPoolConstant.CONSTANT_NameAndType
char[] getClassInfoName()
IConstantPoolConstant.CONSTANT_Class
char[] getClassName()
IConstantPoolConstant.CONSTANT_Fieldref
,
IConstantPoolConstant.CONSTANT_Methodref
,
IConstantPoolConstant.CONSTANT_InterfaceMethodref
char[] getFieldName()
IConstantPoolConstant.CONSTANT_Fieldref
char[] getMethodName()
IConstantPoolConstant.CONSTANT_Methodref
,
IConstantPoolConstant.CONSTANT_InterfaceMethodref
,
IConstantPoolConstant.CONSTANT_InvokeDynamic
char[] getFieldDescriptor()
IConstantPoolConstant.CONSTANT_Fieldref
char[] getMethodDescriptor()
IConstantPoolConstant.CONSTANT_Methodref
,
IConstantPoolConstant.CONSTANT_InterfaceMethodref
,
IConstantPoolConstant.CONSTANT_MethodType
,
IConstantPoolConstant.CONSTANT_InvokeDynamic
char[] getUtf8Value()
IConstantPoolConstant.CONSTANT_Utf8
int 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, 2013 IBM Corporation and others. All rights reserved.