Klasse ConstantPoolEntry2
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ConstantPoolEntry
org.aspectj.org.eclipse.jdt.internal.core.util.ConstantPoolEntry2
- Alle implementierten Schnittstellen:
IConstantPoolEntry
,IConstantPoolEntry2
,IConstantPoolEntry3
Default implementation of IConstantPoolEntry2 and IConstantPoolEntry3.
- Seit:
- 2.0
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
Returns the bootstrap method attribute index.int
Returns the descriptor index.int
Returns the index for a CONSTANT_Module type entry.char[]
Returns the name of a CONSTANT_Module type entry.int
Returns the index for a CONSTANT_Package type entry.char[]
Returns the name of a CONSTANT_Package type entry.int
Returns the reference index.int
Returns the reference kind.void
reset()
void
setBootstrapMethodAttributeIndex
(int bootstrapMethodAttributeIndex) void
setDescriptorIndex
(int descriptorIndex) void
setModuleIndex
(int moduleIndex) void
setModuleName
(char[] moduleName) void
setPackageIndex
(int packageIndex) void
setPackageName
(char[] packageName) void
setReferenceIndex
(int referenceIndex) void
setReferenceKind
(int referenceKind) Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.util.ConstantPoolEntry
getClassIndex, getClassInfoName, getClassInfoNameIndex, getClassName, getDoubleValue, getFieldDescriptor, getFieldName, getFloatValue, getIntegerValue, getKind, getLongValue, getMethodDescriptor, getMethodName, getNameAndTypeDescriptorIndex, getNameAndTypeIndex, getNameAndTypeInfoDescriptorIndex, getNameAndTypeInfoNameIndex, getNameAndTypeNameIndex, getStringIndex, getStringValue, getUtf8Length, getUtf8Value, setClassIndex, setClassInfoName, setClassInfoNameIndex, setClassName, setDoubleValue, setFieldDescriptor, setFieldName, setFloatValue, setIntegerValue, setKind, setLongValue, setMethodDescriptor, setMethodName, setNameAndTypeDescriptorIndex, setNameAndTypeIndex, setNameAndTypeNameIndex, setStringIndex, setStringValue, setUtf8Length, setUtf8Value
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden org.aspectj.org.eclipse.jdt.core.util.IConstantPoolEntry
getClassIndex, getClassInfoName, getClassInfoNameIndex, getClassName, getDoubleValue, getFieldDescriptor, getFieldName, getFloatValue, getIntegerValue, getKind, getLongValue, getMethodDescriptor, getMethodName, getNameAndTypeIndex, getNameAndTypeInfoDescriptorIndex, getNameAndTypeInfoNameIndex, getStringIndex, getStringValue, getUtf8Length, getUtf8Value
-
Konstruktordetails
-
ConstantPoolEntry2
public ConstantPoolEntry2()
-
-
Methodendetails
-
getDescriptorIndex
public int getDescriptorIndex()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry2
Returns the descriptor index. This value is set only when decoding a MethodType entry. The value is unspecified otherwise. The corresponding UTF8 value can be retrieved by usingIConstantPoolEntry.getMethodDescriptor()
.- Angegeben von:
getDescriptorIndex
in SchnittstelleIConstantPoolEntry2
- Gibt zurück:
- the descriptor index. This value is set only when decoding a MethodType entry.
- Siehe auch:
-
getReferenceKind
public int getReferenceKind()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry2
Returns the reference kind. This value is set only when decoding a MethodHandle entry. The value is unspecified otherwise.- Angegeben von:
getReferenceKind
in SchnittstelleIConstantPoolEntry2
- Gibt zurück:
- the reference kind. This value is set only when decoding a MethodHandle entry.
- Siehe auch:
-
getReferenceIndex
public int getReferenceIndex()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry2
Returns the reference index. This value is set only when decoding a MethodHandle entry. The value is unspecified otherwise.- Angegeben von:
getReferenceIndex
in SchnittstelleIConstantPoolEntry2
- Gibt zurück:
- the reference kind. This value is set only when decoding a MethodHandle entry.
- Siehe auch:
-
getBootstrapMethodAttributeIndex
public int getBootstrapMethodAttributeIndex()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry2
Returns the bootstrap method attribute index. This value is set only when decoding a InvokeDynamic entry. The value is unspecified otherwise.- Angegeben von:
getBootstrapMethodAttributeIndex
in SchnittstelleIConstantPoolEntry2
- Gibt zurück:
- the reference kind. This value is set only when decoding a MethodHandle entry.
- Siehe auch:
-
getModuleIndex
public int getModuleIndex()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry3
Returns the index for a CONSTANT_Module type entry. The value is unspecified otherwise.- Angegeben von:
getModuleIndex
in SchnittstelleIConstantPoolEntry3
- Gibt zurück:
- the index for a CONSTANT_Module type entry
- Siehe auch:
-
getModuleName
public char[] getModuleName()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry3
Returns the name of a CONSTANT_Module type entry. Returns null otherwise.- Angegeben von:
getModuleName
in SchnittstelleIConstantPoolEntry3
- Gibt zurück:
- the name of a CONSTANT_Module type entry
- Siehe auch:
-
getPackageIndex
public int getPackageIndex()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry3
Returns the index for a CONSTANT_Package type entry. The value is unspecified otherwise.- Angegeben von:
getPackageIndex
in SchnittstelleIConstantPoolEntry3
- Gibt zurück:
- the index for a CONSTANT_Package type entry
- Siehe auch:
-
getPackageName
public char[] getPackageName()Beschreibung aus Schnittstelle kopiert:IConstantPoolEntry3
Returns the name of a CONSTANT_Package type entry. Returns null otherwise.- Angegeben von:
getPackageName
in SchnittstelleIConstantPoolEntry3
- Gibt zurück:
- the name of a CONSTANT_Package type entry
- Siehe auch:
-
setDescriptorIndex
public void setDescriptorIndex(int descriptorIndex) -
setReferenceKind
public void setReferenceKind(int referenceKind) -
setReferenceIndex
public void setReferenceIndex(int referenceIndex) -
setBootstrapMethodAttributeIndex
public void setBootstrapMethodAttributeIndex(int bootstrapMethodAttributeIndex) -
setModuleIndex
public void setModuleIndex(int moduleIndex) -
setModuleName
public void setModuleName(char[] moduleName) -
setPackageIndex
public void setPackageIndex(int packageIndex) -
setPackageName
public void setPackageName(char[] packageName) -
reset
public void reset()- Setzt außer Kraft:
reset
in KlasseConstantPoolEntry
-