Klasse TypeAnnotationInfo
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.TypeAnnotationInfo
- Alle implementierten Schnittstellen:
IBinaryTypeAnnotation
The TypeAnnotationInfo class does not currently support type annotations within code
blocks (those that have a target type of 0x40 and higher) - it is not yet clear that
these need to be accessible.
-
Feldübersicht
Von Schnittstelle geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.env.IBinaryTypeAnnotation
NO_TYPE_PATH
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
int
Applicable for target type 0x11(CLASS_TYPE_PARAMETER_BOUND), 0x12(METHOD_TYPE_PARAMETER_BOUND)int
Applicable for target type 0x16(METHOD_FORMAL_PARAMETER)int
Applicable for target type 0x10(CLASS_EXTENDS)int
int
Applicable for target type 0x17(THROWS)int
Applicable for target type 0x00(CLASS_TYPE_PARAMETER), 0x01(METHOD_TYPE_PARAMETER)int[]
int
hashCode()
protected void
protected void
reset()
toString()
-
Methodendetails
-
getAnnotation
- Angegeben von:
getAnnotation
in SchnittstelleIBinaryTypeAnnotation
- Gibt zurück:
- the annotation
-
initialize
protected void initialize() -
reset
protected void reset()- Setzt außer Kraft:
reset
in KlasseClassFileStruct
-
toString
-
getTargetType
public int getTargetType()- Angegeben von:
getTargetType
in SchnittstelleIBinaryTypeAnnotation
- Gibt zurück:
- the target type, according to the constants in
AnnotationTargetTypeConstants
-
getSupertypeIndex
public int getSupertypeIndex()Beschreibung aus Schnittstelle kopiert:IBinaryTypeAnnotation
Applicable for target type 0x10(CLASS_EXTENDS)- Angegeben von:
getSupertypeIndex
in SchnittstelleIBinaryTypeAnnotation
- Gibt zurück:
- the supertype index. -1 (65535) for superclass, 0..n for superinterfaces
-
getTypeParameterIndex
public int getTypeParameterIndex()Beschreibung aus Schnittstelle kopiert:IBinaryTypeAnnotation
Applicable for target type 0x00(CLASS_TYPE_PARAMETER), 0x01(METHOD_TYPE_PARAMETER)- Angegeben von:
getTypeParameterIndex
in SchnittstelleIBinaryTypeAnnotation
- Gibt zurück:
- the type parameter index (0 based)
-
getBoundIndex
public int getBoundIndex()Beschreibung aus Schnittstelle kopiert:IBinaryTypeAnnotation
Applicable for target type 0x11(CLASS_TYPE_PARAMETER_BOUND), 0x12(METHOD_TYPE_PARAMETER_BOUND)- Angegeben von:
getBoundIndex
in SchnittstelleIBinaryTypeAnnotation
- Gibt zurück:
- the bound index
-
getMethodFormalParameterIndex
public int getMethodFormalParameterIndex()Beschreibung aus Schnittstelle kopiert:IBinaryTypeAnnotation
Applicable for target type 0x16(METHOD_FORMAL_PARAMETER)- Angegeben von:
getMethodFormalParameterIndex
in SchnittstelleIBinaryTypeAnnotation
- Gibt zurück:
- the method formal parameter index
-
getThrowsTypeIndex
public int getThrowsTypeIndex()Beschreibung aus Schnittstelle kopiert:IBinaryTypeAnnotation
Applicable for target type 0x17(THROWS)- Angegeben von:
getThrowsTypeIndex
in SchnittstelleIBinaryTypeAnnotation
- Gibt zurück:
- the throws type index
-
getTypePath
public int[] getTypePath()- Angegeben von:
getTypePath
in SchnittstelleIBinaryTypeAnnotation
- Gibt zurück:
- the raw type path data, each pair of ints is a type path entry
-
hashCode
public int hashCode() -
equals
-