|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.core.util.ConstantPoolEntry
public class ConstantPoolEntry
Default implementation of IConstantPoolEntry
| Constructor Summary | |
|---|---|
ConstantPoolEntry()
|
|
| 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 or CONSTANT_InterfaceMethodred type entry. |
int |
getNameAndTypeDescriptorIndex()
Gets the nameAndTypeDescriptorIndex. |
int |
getNameAndTypeIndex()
Returns the nameAndType index for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref 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 |
getNameAndTypeNameIndex()
Gets the nameAndTypeNameIndex. |
int |
getStringIndex()
Returns the string index for a CONSTANT_String type entry. |
java.lang.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. |
void |
reset()
|
void |
setClassIndex(int classIndex)
Sets the classIndex. |
void |
setClassInfoName(char[] classInfoName)
Sets the classInfoName. |
void |
setClassInfoNameIndex(int classInfoNameIndex)
Sets the classInfoNameIndex. |
void |
setClassName(char[] className)
Sets the className. |
void |
setDoubleValue(double doubleValue)
Sets the doubleValue. |
void |
setFieldDescriptor(char[] fieldDescriptor)
Sets the fieldDescriptor. |
void |
setFieldName(char[] fieldName)
Sets the fieldName. |
void |
setFloatValue(float floatValue)
Sets the floatValue. |
void |
setIntegerValue(int integerValue)
Sets the integerValue. |
void |
setKind(int kind)
Sets the kind. |
void |
setLongValue(long longValue)
Sets the longValue. |
void |
setMethodDescriptor(char[] methodDescriptor)
Sets the methodDescriptor. |
void |
setMethodName(char[] methodName)
Sets the methodName. |
void |
setNameAndTypeDescriptorIndex(int nameAndTypeDescriptorIndex)
Sets the nameAndTypeDescriptorIndex. |
void |
setNameAndTypeIndex(int nameAndTypeIndex)
Sets the nameAndTypeIndex. |
void |
setNameAndTypeNameIndex(int nameAndTypeNameIndex)
Sets the nameAndTypeNameIndex. |
void |
setStringIndex(int stringIndex)
Sets the stringIndex. |
void |
setStringValue(char[] stringValue)
Sets the stringValue. |
void |
setUtf8Length(int utf8Length)
Sets the utf8Length. |
void |
setUtf8Value(char[] utf8Value)
Sets the utf8Value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstantPoolEntry()
| Method Detail |
|---|
public int getKind()
IConstantPoolEntry
getKind in interface IConstantPoolEntryIConstantPoolEntry.getKind()public void setKind(int kind)
kind - The kind to setpublic int getClassInfoNameIndex()
IConstantPoolEntry
getClassInfoNameIndex in interface IConstantPoolEntryIConstantPoolEntry.getClassInfoNameIndex()public int getClassIndex()
IConstantPoolEntry
getClassIndex in interface IConstantPoolEntryIConstantPoolEntry.getClassIndex()public int getNameAndTypeIndex()
IConstantPoolEntry
getNameAndTypeIndex in interface IConstantPoolEntryIConstantPoolEntry.getNameAndTypeIndex()public int getStringIndex()
IConstantPoolEntry
getStringIndex in interface IConstantPoolEntryIConstantPoolEntry.getStringIndex()public java.lang.String getStringValue()
IConstantPoolEntry
getStringValue in interface IConstantPoolEntryIConstantPoolEntry.getStringValue()public int getIntegerValue()
IConstantPoolEntry
getIntegerValue in interface IConstantPoolEntryIConstantPoolEntry.getIntegerValue()public float getFloatValue()
IConstantPoolEntry
getFloatValue in interface IConstantPoolEntryIConstantPoolEntry.getFloatValue()public double getDoubleValue()
IConstantPoolEntry
getDoubleValue in interface IConstantPoolEntryIConstantPoolEntry.getDoubleValue()public long getLongValue()
IConstantPoolEntry
getLongValue in interface IConstantPoolEntryIConstantPoolEntry.getLongValue()public int getNameAndTypeInfoDescriptorIndex()
IConstantPoolEntry
getNameAndTypeInfoDescriptorIndex in interface IConstantPoolEntryIConstantPoolEntry.getNameAndTypeInfoDescriptorIndex()public int getNameAndTypeInfoNameIndex()
IConstantPoolEntry
getNameAndTypeInfoNameIndex in interface IConstantPoolEntryIConstantPoolEntry.getNameAndTypeInfoNameIndex()public char[] getClassName()
IConstantPoolEntry
getClassName in interface IConstantPoolEntryIConstantPoolEntry.getClassName()public char[] getFieldName()
IConstantPoolEntry
getFieldName in interface IConstantPoolEntryIConstantPoolEntry.getFieldName()public char[] getMethodName()
IConstantPoolEntry
getMethodName in interface IConstantPoolEntryIConstantPoolEntry.getMethodName()public char[] getFieldDescriptor()
IConstantPoolEntry
getFieldDescriptor in interface IConstantPoolEntryIConstantPoolEntry.getFieldDescriptor()public char[] getMethodDescriptor()
IConstantPoolEntry
getMethodDescriptor in interface IConstantPoolEntryIConstantPoolEntry.getMethodDescriptor()public char[] getUtf8Value()
IConstantPoolEntry
getUtf8Value in interface IConstantPoolEntryIConstantPoolEntry.getUtf8Value()public char[] getClassInfoName()
IConstantPoolEntry
getClassInfoName in interface IConstantPoolEntryIConstantPoolEntry.getClassInfoName()public void setClassInfoNameIndex(int classInfoNameIndex)
classInfoNameIndex - The classInfoNameIndex to setpublic void setClassIndex(int classIndex)
classIndex - The classIndex to setpublic void setNameAndTypeIndex(int nameAndTypeIndex)
nameAndTypeIndex - The nameAndTypeIndex to setpublic void setStringIndex(int stringIndex)
stringIndex - The stringIndex to setpublic void setStringValue(char[] stringValue)
stringValue - The stringValue to setpublic void setIntegerValue(int integerValue)
integerValue - The integerValue to setpublic void setFloatValue(float floatValue)
floatValue - The floatValue to setpublic void setDoubleValue(double doubleValue)
doubleValue - The doubleValue to setpublic void setLongValue(long longValue)
longValue - The longValue to setpublic int getNameAndTypeDescriptorIndex()
public void setNameAndTypeDescriptorIndex(int nameAndTypeDescriptorIndex)
nameAndTypeDescriptorIndex - The nameAndTypeDescriptorIndex to setpublic int getNameAndTypeNameIndex()
public void setNameAndTypeNameIndex(int nameAndTypeNameIndex)
nameAndTypeNameIndex - The nameAndTypeNameIndex to setpublic void setClassName(char[] className)
className - The className to setpublic void setFieldName(char[] fieldName)
fieldName - The fieldName to setpublic void setMethodName(char[] methodName)
methodName - The methodName to setpublic void setFieldDescriptor(char[] fieldDescriptor)
fieldDescriptor - The fieldDescriptor to setpublic void setMethodDescriptor(char[] methodDescriptor)
methodDescriptor - The methodDescriptor to setpublic void setUtf8Value(char[] utf8Value)
utf8Value - The utf8Value to setpublic void setClassInfoName(char[] classInfoName)
classInfoName - The classInfoName to setpublic int getUtf8Length()
IConstantPoolEntry
getUtf8Length in interface IConstantPoolEntryIConstantPoolEntry.getUtf8Length()public void setUtf8Length(int utf8Length)
utf8Length - The utf8Length to setpublic void reset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||