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
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
Returns the class index for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref type entry.char[]
Returns the class name for a CONSTANT_Class type entry.int
Returns the name index for a CONSTANT_Class type entry.char[]
Returns the class name for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref type entry.double
Returns 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.float
Returns the float value for a CONSTANT_Float type entry.int
Returns the integer value for a CONSTANT_Integer type entry.int
getKind()
Returns the type of this entry.long
Returns 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.int
Gets the nameAndTypeDescriptorIndex.int
Returns the nameAndType index for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref, CONSTANT_InvokeDynamic type entry.int
Returns the descriptor index for a CONSTANT_NameAndType type entry.int
Returns the name index for a CONSTANT_NameAndType type entry.int
Gets the nameAndTypeNameIndex.int
Returns the string index for a CONSTANT_String type entry.Returns the string value for a CONSTANT_String type entry.int
Returns the utf8 length for a CONSTANT_Utf8 type entry.char[]
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.
-
Konstruktordetails
-
ConstantPoolEntry
public ConstantPoolEntry()
-
-
Methodendetails
-
getKind
public int getKind()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry
Returns the type of this entry.- Angegeben von:
getKind
in 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:IConstantPoolEntry
Returns the name index for a CONSTANT_Class type entry. The value is unspecified otherwise.- Angegeben von:
getClassInfoNameIndex
in SchnittstelleIConstantPoolEntry
- Gibt zurück:
- the name index for a CONSTANT_Class type entry
- Siehe auch:
-
getClassIndex
public int getClassIndex()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry
Returns the class index for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref type entry. The value is unspecified otherwise.- Angegeben von:
getClassIndex
in 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:IConstantPoolEntry
Returns the nameAndType index for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref, CONSTANT_InvokeDynamic type entry. The value is unspecified otherwise.- Angegeben von:
getNameAndTypeIndex
in 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:IConstantPoolEntry
Returns the string index for a CONSTANT_String type entry. The value is unspecified otherwise.- Angegeben von:
getStringIndex
in SchnittstelleIConstantPoolEntry
- Gibt zurück:
- the string index for a CONSTANT_String type entry
- Siehe auch:
-
getStringValue
Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry
Returns the string value for a CONSTANT_String type entry. Returns null otherwise.- Angegeben von:
getStringValue
in SchnittstelleIConstantPoolEntry
- Gibt zurück:
- the string value for a CONSTANT_String type entry
- Siehe auch:
-
getIntegerValue
public int getIntegerValue()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry
Returns the integer value for a CONSTANT_Integer type entry. The value is unspecified otherwise.- Angegeben von:
getIntegerValue
in SchnittstelleIConstantPoolEntry
- Gibt zurück:
- the integer value for a CONSTANT_Integer type entry
- Siehe auch:
-
getFloatValue
public float getFloatValue()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry
Returns the float value for a CONSTANT_Float type entry. The value is unspecified otherwise.- Angegeben von:
getFloatValue
in SchnittstelleIConstantPoolEntry
- Gibt zurück:
- the float value for a CONSTANT_Float type entry
- Siehe auch:
-
getDoubleValue
public double getDoubleValue()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry
Returns the double value for a CONSTANT_Double type entry. The value is unspecified otherwise.- Angegeben von:
getDoubleValue
in SchnittstelleIConstantPoolEntry
- Gibt zurück:
- the double value for a CONSTANT_Double type entry
- Siehe auch:
-
getLongValue
public long getLongValue()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry
Returns the long value for a CONSTANT_Long type entry. The value is unspecified otherwise.- Angegeben von:
getLongValue
in SchnittstelleIConstantPoolEntry
- Gibt zurück:
- the long value for a CONSTANT_Long type entry
- Siehe auch:
-
getNameAndTypeInfoDescriptorIndex
public int getNameAndTypeInfoDescriptorIndex()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry
Returns the descriptor index for a CONSTANT_NameAndType type entry. The value is unspecified otherwise.- Angegeben von:
getNameAndTypeInfoDescriptorIndex
in SchnittstelleIConstantPoolEntry
- Gibt zurück:
- the descriptor index for a CONSTANT_NameAndType type entry
- Siehe auch:
-
getNameAndTypeInfoNameIndex
public int getNameAndTypeInfoNameIndex()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry
Returns the name index for a CONSTANT_NameAndType type entry. The value is unspecified otherwise.- Angegeben von:
getNameAndTypeInfoNameIndex
in SchnittstelleIConstantPoolEntry
- Gibt zurück:
- the name index for a CONSTANT_NameAndType type entry
- Siehe auch:
-
getClassName
public char[] getClassName()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry
Returns the class name for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref type entry. Returns null otherwise.- Angegeben von:
getClassName
in 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:IConstantPoolEntry
Returns the field name for a CONSTANT_Fieldref type entry. Returns null otherwise.- Angegeben von:
getFieldName
in SchnittstelleIConstantPoolEntry
- Gibt zurück:
- the field name for a CONSTANT_Fieldref type entry
- Siehe auch:
-
getMethodName
public char[] getMethodName()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry
Returns the method name for a CONSTANT_Methodref, CONSTANT_InterfaceMethodref or CONSTANT_InvokeDynamic type entry. Returns null otherwise.- Angegeben von:
getMethodName
in 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:IConstantPoolEntry
Returns 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:
getFieldDescriptor
in 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:IConstantPoolEntry
Returns 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:
getMethodDescriptor
in 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:IConstantPoolEntry
Returns the utf8 value for a CONSTANT_Utf8 type entry. This value is set only when decoding a UTF8 entry. Returns null otherwise.- Angegeben von:
getUtf8Value
in 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:IConstantPoolEntry
Returns the class name for a CONSTANT_Class type entry. Returns null otherwise.- Angegeben von:
getClassInfoName
in 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:IConstantPoolEntry
Returns the utf8 length for a CONSTANT_Utf8 type entry. This value is set only when decoding a UTF8 entry. Returns null otherwise.- Angegeben von:
getUtf8Length
in 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()
-