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 TypMethodeBeschreibungbooleanintApplicable for target type 0x11(CLASS_TYPE_PARAMETER_BOUND), 0x12(METHOD_TYPE_PARAMETER_BOUND)intApplicable for target type 0x16(METHOD_FORMAL_PARAMETER)intApplicable for target type 0x10(CLASS_EXTENDS)intintApplicable for target type 0x17(THROWS)intApplicable for target type 0x00(CLASS_TYPE_PARAMETER), 0x01(METHOD_TYPE_PARAMETER)int[]inthashCode()protected voidprotected voidreset()toString()
-
Methodendetails
-
getAnnotation
- Angegeben von:
getAnnotationin SchnittstelleIBinaryTypeAnnotation- Gibt zurück:
- the annotation
-
initialize
protected void initialize() -
reset
protected void reset()- Setzt außer Kraft:
resetin KlasseClassFileStruct
-
toString
-
getTargetType
public int getTargetType()- Angegeben von:
getTargetTypein SchnittstelleIBinaryTypeAnnotation- Gibt zurück:
- the target type, according to the constants in
AnnotationTargetTypeConstants
-
getSupertypeIndex
public int getSupertypeIndex()Beschreibung aus Schnittstelle kopiert:IBinaryTypeAnnotationApplicable for target type 0x10(CLASS_EXTENDS)- Angegeben von:
getSupertypeIndexin SchnittstelleIBinaryTypeAnnotation- Gibt zurück:
- the supertype index. -1 (65535) for superclass, 0..n for superinterfaces
-
getTypeParameterIndex
public int getTypeParameterIndex()Beschreibung aus Schnittstelle kopiert:IBinaryTypeAnnotationApplicable for target type 0x00(CLASS_TYPE_PARAMETER), 0x01(METHOD_TYPE_PARAMETER)- Angegeben von:
getTypeParameterIndexin SchnittstelleIBinaryTypeAnnotation- Gibt zurück:
- the type parameter index (0 based)
-
getBoundIndex
public int getBoundIndex()Beschreibung aus Schnittstelle kopiert:IBinaryTypeAnnotationApplicable for target type 0x11(CLASS_TYPE_PARAMETER_BOUND), 0x12(METHOD_TYPE_PARAMETER_BOUND)- Angegeben von:
getBoundIndexin SchnittstelleIBinaryTypeAnnotation- Gibt zurück:
- the bound index
-
getMethodFormalParameterIndex
public int getMethodFormalParameterIndex()Beschreibung aus Schnittstelle kopiert:IBinaryTypeAnnotationApplicable for target type 0x16(METHOD_FORMAL_PARAMETER)- Angegeben von:
getMethodFormalParameterIndexin SchnittstelleIBinaryTypeAnnotation- Gibt zurück:
- the method formal parameter index
-
getThrowsTypeIndex
public int getThrowsTypeIndex()Beschreibung aus Schnittstelle kopiert:IBinaryTypeAnnotationApplicable for target type 0x17(THROWS)- Angegeben von:
getThrowsTypeIndexin SchnittstelleIBinaryTypeAnnotation- Gibt zurück:
- the throws type index
-
getTypePath
public int[] getTypePath()- Angegeben von:
getTypePathin SchnittstelleIBinaryTypeAnnotation- Gibt zurück:
- the raw type path data, each pair of ints is a type path entry
-
hashCode
public int hashCode() -
equals
-