Klasse ConstantPoolEntry
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ConstantPoolEntry
- Alle implementierten Schnittstellen:
IConstantPoolEntry
- Bekannte direkte Unterklassen:
ConstantPoolEntry2
Default implementation of IConstantPoolEntry
- Seit:
- 2.0
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintReturns the class index for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref type entry.char[]Returns the class name for a CONSTANT_Class type entry.intReturns the name index for a CONSTANT_Class type entry.char[]Returns the class name for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref type entry.doubleReturns the double value for a CONSTANT_Double type entry.char[]Returns the field descriptor value for a CONSTANT_Fieldref type entry.char[]Returns the field name for a CONSTANT_Fieldref type entry.floatReturns the float value for a CONSTANT_Float type entry.intReturns the integer value for a CONSTANT_Integer type entry.intgetKind()Returns the type of this entry.longReturns the long value for a CONSTANT_Long type entry.char[]Returns the method descriptor value for a CONSTANT_Methodref or CONSTANT_InterfaceMethodref type entry.char[]Returns the method name for a CONSTANT_Methodref, CONSTANT_InterfaceMethodref or CONSTANT_InvokeDynamic type entry.intGets the nameAndTypeDescriptorIndex.intReturns the nameAndType index for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref, CONSTANT_InvokeDynamic type entry.intReturns the descriptor index for a CONSTANT_NameAndType type entry.intReturns the name index for a CONSTANT_NameAndType type entry.intGets the nameAndTypeNameIndex.intReturns the string index for a CONSTANT_String type entry.Returns the string value for a CONSTANT_String type entry.intReturns the utf8 length for a CONSTANT_Utf8 type entry.char[]Returns the utf8 value for a CONSTANT_Utf8 type entry.voidreset()voidsetClassIndex(int classIndex) Sets the classIndex.voidsetClassInfoName(char[] classInfoName) Sets the classInfoName.voidsetClassInfoNameIndex(int classInfoNameIndex) Sets the classInfoNameIndex.voidsetClassName(char[] className) Sets the className.voidsetDoubleValue(double doubleValue) Sets the doubleValue.voidsetFieldDescriptor(char[] fieldDescriptor) Sets the fieldDescriptor.voidsetFieldName(char[] fieldName) Sets the fieldName.voidsetFloatValue(float floatValue) Sets the floatValue.voidsetIntegerValue(int integerValue) Sets the integerValue.voidsetKind(int kind) Sets the kind.voidsetLongValue(long longValue) Sets the longValue.voidsetMethodDescriptor(char[] methodDescriptor) Sets the methodDescriptor.voidsetMethodName(char[] methodName) Sets the methodName.voidsetNameAndTypeDescriptorIndex(int nameAndTypeDescriptorIndex) Sets the nameAndTypeDescriptorIndex.voidsetNameAndTypeIndex(int nameAndTypeIndex) Sets the nameAndTypeIndex.voidsetNameAndTypeNameIndex(int nameAndTypeNameIndex) Sets the nameAndTypeNameIndex.voidsetStringIndex(int stringIndex) Sets the stringIndex.voidsetStringValue(char[] stringValue) Sets the stringValue.voidsetUtf8Length(int utf8Length) Sets the utf8Length.voidsetUtf8Value(char[] utf8Value) Sets the utf8Value.
-
Konstruktordetails
-
ConstantPoolEntry
public ConstantPoolEntry()
-
-
Methodendetails
-
getKind
public int getKind()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the type of this entry.- Angegeben von:
getKindin SchnittstelleIConstantPoolEntry- Gibt zurück:
- the type of this entry
- Siehe auch:
-
setKind
public void setKind(int kind) Sets the kind.- Parameter:
kind- The kind to set
-
getClassInfoNameIndex
public int getClassInfoNameIndex()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the name index for a CONSTANT_Class type entry. The value is unspecified otherwise.- Angegeben von:
getClassInfoNameIndexin SchnittstelleIConstantPoolEntry- Gibt zurück:
- the name index for a CONSTANT_Class type entry
- Siehe auch:
-
getClassIndex
public int getClassIndex()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the class index for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref type entry. The value is unspecified otherwise.- Angegeben von:
getClassIndexin SchnittstelleIConstantPoolEntry- Gibt zurück:
- the class index for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref type entry
- Siehe auch:
-
getNameAndTypeIndex
public int getNameAndTypeIndex()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the nameAndType index for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref, CONSTANT_InvokeDynamic type entry. The value is unspecified otherwise.- Angegeben von:
getNameAndTypeIndexin SchnittstelleIConstantPoolEntry- Gibt zurück:
- the nameAndType index for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref, CONSTANT_InvokeDynamic type entry
- Siehe auch:
-
getStringIndex
public int getStringIndex()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the string index for a CONSTANT_String type entry. The value is unspecified otherwise.- Angegeben von:
getStringIndexin SchnittstelleIConstantPoolEntry- Gibt zurück:
- the string index for a CONSTANT_String type entry
- Siehe auch:
-
getStringValue
Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the string value for a CONSTANT_String type entry. Returns null otherwise.- Angegeben von:
getStringValuein SchnittstelleIConstantPoolEntry- Gibt zurück:
- the string value for a CONSTANT_String type entry
- Siehe auch:
-
getIntegerValue
public int getIntegerValue()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the integer value for a CONSTANT_Integer type entry. The value is unspecified otherwise.- Angegeben von:
getIntegerValuein SchnittstelleIConstantPoolEntry- Gibt zurück:
- the integer value for a CONSTANT_Integer type entry
- Siehe auch:
-
getFloatValue
public float getFloatValue()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the float value for a CONSTANT_Float type entry. The value is unspecified otherwise.- Angegeben von:
getFloatValuein SchnittstelleIConstantPoolEntry- Gibt zurück:
- the float value for a CONSTANT_Float type entry
- Siehe auch:
-
getDoubleValue
public double getDoubleValue()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the double value for a CONSTANT_Double type entry. The value is unspecified otherwise.- Angegeben von:
getDoubleValuein SchnittstelleIConstantPoolEntry- Gibt zurück:
- the double value for a CONSTANT_Double type entry
- Siehe auch:
-
getLongValue
public long getLongValue()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the long value for a CONSTANT_Long type entry. The value is unspecified otherwise.- Angegeben von:
getLongValuein SchnittstelleIConstantPoolEntry- Gibt zurück:
- the long value for a CONSTANT_Long type entry
- Siehe auch:
-
getNameAndTypeInfoDescriptorIndex
public int getNameAndTypeInfoDescriptorIndex()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the descriptor index for a CONSTANT_NameAndType type entry. The value is unspecified otherwise.- Angegeben von:
getNameAndTypeInfoDescriptorIndexin SchnittstelleIConstantPoolEntry- Gibt zurück:
- the descriptor index for a CONSTANT_NameAndType type entry
- Siehe auch:
-
getNameAndTypeInfoNameIndex
public int getNameAndTypeInfoNameIndex()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the name index for a CONSTANT_NameAndType type entry. The value is unspecified otherwise.- Angegeben von:
getNameAndTypeInfoNameIndexin SchnittstelleIConstantPoolEntry- Gibt zurück:
- the name index for a CONSTANT_NameAndType type entry
- Siehe auch:
-
getClassName
public char[] getClassName()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the class name for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref type entry. Returns null otherwise.- Angegeben von:
getClassNamein SchnittstelleIConstantPoolEntry- Gibt zurück:
- the class name for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref type entry
- Siehe auch:
-
getFieldName
public char[] getFieldName()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the field name for a CONSTANT_Fieldref type entry. Returns null otherwise.- Angegeben von:
getFieldNamein SchnittstelleIConstantPoolEntry- Gibt zurück:
- the field name for a CONSTANT_Fieldref type entry
- Siehe auch:
-
getMethodName
public char[] getMethodName()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the method name for a CONSTANT_Methodref, CONSTANT_InterfaceMethodref or CONSTANT_InvokeDynamic type entry. Returns null otherwise.- Angegeben von:
getMethodNamein SchnittstelleIConstantPoolEntry- Gibt zurück:
- the method name for a CONSTANT_Methodref, CONSTANT_InterfaceMethodref or CONSTANT_InvokeDynamic type entry
- Siehe auch:
-
getFieldDescriptor
public char[] getFieldDescriptor()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the field descriptor value for a CONSTANT_Fieldref type entry. This value is set only when decoding the CONSTANT_Fieldref entry. Returns null otherwise.- Angegeben von:
getFieldDescriptorin SchnittstelleIConstantPoolEntry- Gibt zurück:
- the field descriptor value for a CONSTANT_Fieldref type entry. This value is set only when decoding the CONSTANT_Fieldref entry
- Siehe auch:
-
getMethodDescriptor
public char[] getMethodDescriptor()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the method descriptor value for a CONSTANT_Methodref or CONSTANT_InterfaceMethodref type entry. This value is set only when decoding the CONSTANT_Methodref, CONSTANT_InterfaceMethodref, CONSTANT_MethodType or CONSTANT_InvokeDynamic entry. Returns null otherwise.- Angegeben von:
getMethodDescriptorin SchnittstelleIConstantPoolEntry- Gibt zurück:
- the method descriptor value for a CONSTANT_Methodref, CONSTANT_InterfaceMethodref type entry. This value is set only when decoding the CONSTANT_Methodref, CONSTANT_InterfaceMethodref, CONSTANT_MethodType or CONSTANT_InvokeDynamic entry
- Siehe auch:
-
getUtf8Value
public char[] getUtf8Value()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the utf8 value for a CONSTANT_Utf8 type entry. This value is set only when decoding a UTF8 entry. Returns null otherwise.- Angegeben von:
getUtf8Valuein SchnittstelleIConstantPoolEntry- Gibt zurück:
- the utf8 value for a CONSTANT_Utf8 type entry. This value is set only when decoding a UTF8 entry
- Siehe auch:
-
getClassInfoName
public char[] getClassInfoName()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the class name for a CONSTANT_Class type entry. Returns null otherwise.- Angegeben von:
getClassInfoNamein SchnittstelleIConstantPoolEntry- Gibt zurück:
- the class name for a CONSTANT_Class type entry
- Siehe auch:
-
setClassInfoNameIndex
public void setClassInfoNameIndex(int classInfoNameIndex) Sets the classInfoNameIndex.- Parameter:
classInfoNameIndex- The classInfoNameIndex to set
-
setClassIndex
public void setClassIndex(int classIndex) Sets the classIndex.- Parameter:
classIndex- The classIndex to set
-
setNameAndTypeIndex
public void setNameAndTypeIndex(int nameAndTypeIndex) Sets the nameAndTypeIndex.- Parameter:
nameAndTypeIndex- The nameAndTypeIndex to set
-
setStringIndex
public void setStringIndex(int stringIndex) Sets the stringIndex.- Parameter:
stringIndex- The stringIndex to set
-
setStringValue
public void setStringValue(char[] stringValue) Sets the stringValue.- Parameter:
stringValue- The stringValue to set
-
setIntegerValue
public void setIntegerValue(int integerValue) Sets the integerValue.- Parameter:
integerValue- The integerValue to set
-
setFloatValue
public void setFloatValue(float floatValue) Sets the floatValue.- Parameter:
floatValue- The floatValue to set
-
setDoubleValue
public void setDoubleValue(double doubleValue) Sets the doubleValue.- Parameter:
doubleValue- The doubleValue to set
-
setLongValue
public void setLongValue(long longValue) Sets the longValue.- Parameter:
longValue- The longValue to set
-
getNameAndTypeDescriptorIndex
public int getNameAndTypeDescriptorIndex()Gets the nameAndTypeDescriptorIndex.- Gibt zurück:
- Returns a int
-
setNameAndTypeDescriptorIndex
public void setNameAndTypeDescriptorIndex(int nameAndTypeDescriptorIndex) Sets the nameAndTypeDescriptorIndex.- Parameter:
nameAndTypeDescriptorIndex- The nameAndTypeDescriptorIndex to set
-
getNameAndTypeNameIndex
public int getNameAndTypeNameIndex()Gets the nameAndTypeNameIndex.- Gibt zurück:
- Returns a int
-
setNameAndTypeNameIndex
public void setNameAndTypeNameIndex(int nameAndTypeNameIndex) Sets the nameAndTypeNameIndex.- Parameter:
nameAndTypeNameIndex- The nameAndTypeNameIndex to set
-
setClassName
public void setClassName(char[] className) Sets the className.- Parameter:
className- The className to set
-
setFieldName
public void setFieldName(char[] fieldName) Sets the fieldName.- Parameter:
fieldName- The fieldName to set
-
setMethodName
public void setMethodName(char[] methodName) Sets the methodName.- Parameter:
methodName- The methodName to set
-
setFieldDescriptor
public void setFieldDescriptor(char[] fieldDescriptor) Sets the fieldDescriptor.- Parameter:
fieldDescriptor- The fieldDescriptor to set
-
setMethodDescriptor
public void setMethodDescriptor(char[] methodDescriptor) Sets the methodDescriptor.- Parameter:
methodDescriptor- The methodDescriptor to set
-
setUtf8Value
public void setUtf8Value(char[] utf8Value) Sets the utf8Value.- Parameter:
utf8Value- The utf8Value to set
-
setClassInfoName
public void setClassInfoName(char[] classInfoName) Sets the classInfoName.- Parameter:
classInfoName- The classInfoName to set
-
getUtf8Length
public int getUtf8Length()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntryReturns the utf8 length for a CONSTANT_Utf8 type entry. This value is set only when decoding a UTF8 entry. Returns null otherwise.- Angegeben von:
getUtf8Lengthin SchnittstelleIConstantPoolEntry- Gibt zurück:
- the utf8 length for a CONSTANT_Utf8 type entry. This value is set only when decoding a UTF8 entry
- Siehe auch:
-
setUtf8Length
public void setUtf8Length(int utf8Length) Sets the utf8Length.- Parameter:
utf8Length- The utf8Length to set
-
reset
public void reset()
-