Klasse AnnotationComponentValue
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.AnnotationComponentValue
- Alle implementierten Schnittstellen:
IAnnotationComponentValue
Default implementation of IAnnotationComponent
-
Feldübersicht
Von Schnittstelle geerbte Felder org.aspectj.org.eclipse.jdt.core.util.IAnnotationComponentValue
ANNOTATION_TAG, ARRAY_TAG, BOOLEAN_TAG, BYTE_TAG, CHAR_TAG, CLASS_TAG, DOUBLE_TAG, ENUM_TAG, FLOAT_TAG, INTEGER_TAG, LONG_TAG, SHORT_TAG, STRING_TAG -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungAnnotationComponentValue(byte[] classFileBytes, IConstantPool constantPool, int offset) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the annotation component values as described in the JVM specifications if the tag item is '['.Returns the annotation value as described in the JVM specifications if the tag item is '@'.Returns the class info as described in the JVM specifications if the tag item is 'c'.intReturns the class info index as described in the JVM specifications if the tag item is 'c'.Returns the constant value as described in the JVM specifications if the tag item is one of 'B', 'C', 'D', 'F', 'I', 'J', 'S', 'Z', or 's'.intReturns the constant value index as described in the JVM specifications if the tag item is one of 'B', 'C', 'D', 'F', 'I', 'J', 'S', 'Z', or 's'.char[]Returns the simple name of the enum constant represented by this annotation component value as described in the JVM specifications if the tag item is 'e'.intReturns the utf8 constant index as described in the JVM specifications if the tag item is 'e'.char[]Returns the binary name of the type of the enum constant represented by this annotation component value as described in the JVM specifications if the tag item is 'e'.intReturns the utf8 constant index as described in the JVM specifications if the tag item is 'e'.intgetTag()Returns the tag as described in the JVM specifications.intReturns the number of values as described in the JVM specifications if the tag item is '['.
-
Konstruktordetails
-
AnnotationComponentValue
public AnnotationComponentValue(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException - Löst aus:
ClassFormatException
-
-
Methodendetails
-
getAnnotationComponentValues
Beschreibung aus Schnittstelle kopiert:IAnnotationComponentValueReturns the annotation component values as described in the JVM specifications if the tag item is '['. Returns null otherwise.- Angegeben von:
getAnnotationComponentValuesin SchnittstelleIAnnotationComponentValue- Gibt zurück:
- the annotation component values
-
getAnnotationValue
Beschreibung aus Schnittstelle kopiert:IAnnotationComponentValueReturns the annotation value as described in the JVM specifications if the tag item is '@'. Returns null otherwise.- Angegeben von:
getAnnotationValuein SchnittstelleIAnnotationComponentValue- Gibt zurück:
- the attribute value
-
getClassInfo
Beschreibung aus Schnittstelle kopiert:IAnnotationComponentValueReturns the class info as described in the JVM specifications if the tag item is 'c'. Returns null otherwise.- Angegeben von:
getClassInfoin SchnittstelleIAnnotationComponentValue- Gibt zurück:
- the class info
-
getClassInfoIndex
public int getClassInfoIndex()Beschreibung aus Schnittstelle kopiert:IAnnotationComponentValueReturns the class info index as described in the JVM specifications if the tag item is 'c'. Returns null otherwise.- Angegeben von:
getClassInfoIndexin SchnittstelleIAnnotationComponentValue- Gibt zurück:
- the class info index
-
getConstantValue
Beschreibung aus Schnittstelle kopiert:IAnnotationComponentValueReturns the constant value as described in the JVM specifications if the tag item is one of 'B', 'C', 'D', 'F', 'I', 'J', 'S', 'Z', or 's'. Returns null otherwise.- Angegeben von:
getConstantValuein SchnittstelleIAnnotationComponentValue- Gibt zurück:
- the constant value
-
getConstantValueIndex
public int getConstantValueIndex()Beschreibung aus Schnittstelle kopiert:IAnnotationComponentValueReturns the constant value index as described in the JVM specifications if the tag item is one of 'B', 'C', 'D', 'F', 'I', 'J', 'S', 'Z', or 's'. The value is unspecified otherwise.- Angegeben von:
getConstantValueIndexin SchnittstelleIAnnotationComponentValue- Gibt zurück:
- the constant value index
-
getEnumConstantName
public char[] getEnumConstantName()Beschreibung aus Schnittstelle kopiert:IAnnotationComponentValueReturns the simple name of the enum constant represented by this annotation component value as described in the JVM specifications if the tag item is 'e'. Returns null otherwise.- Angegeben von:
getEnumConstantNamein SchnittstelleIAnnotationComponentValue- Gibt zurück:
- the enum constant
-
getEnumConstantNameIndex
public int getEnumConstantNameIndex()Beschreibung aus Schnittstelle kopiert:IAnnotationComponentValueReturns the utf8 constant index as described in the JVM specifications if the tag item is 'e'. The value is unspecified otherwise.- Angegeben von:
getEnumConstantNameIndexin SchnittstelleIAnnotationComponentValue- Gibt zurück:
- the enum constant index
-
getEnumConstantTypeName
public char[] getEnumConstantTypeName()Beschreibung aus Schnittstelle kopiert:IAnnotationComponentValueReturns the binary name of the type of the enum constant represented by this annotation component value as described in the JVM specifications if the tag item is 'e'. Returns null otherwise.- Angegeben von:
getEnumConstantTypeNamein SchnittstelleIAnnotationComponentValue- Gibt zurück:
- the enum constant
-
getEnumConstantTypeNameIndex
public int getEnumConstantTypeNameIndex()Beschreibung aus Schnittstelle kopiert:IAnnotationComponentValueReturns the utf8 constant index as described in the JVM specifications if the tag item is 'e'. The value is unspecified otherwise.- Angegeben von:
getEnumConstantTypeNameIndexin SchnittstelleIAnnotationComponentValue- Gibt zurück:
- the enum constant index
-
getTag
public int getTag()Beschreibung aus Schnittstelle kopiert:IAnnotationComponentValueReturns the tag as described in the JVM specifications.- Angegeben von:
getTagin SchnittstelleIAnnotationComponentValue- Gibt zurück:
- the tag
-
getValuesNumber
public int getValuesNumber()Beschreibung aus Schnittstelle kopiert:IAnnotationComponentValueReturns the number of values as described in the JVM specifications if the tag item is '['. The value is unspecified otherwise.- Angegeben von:
getValuesNumberin SchnittstelleIAnnotationComponentValue- Gibt zurück:
- the number of values
-