Schnittstelle IBinaryTypeAnnotation
- Alle bekannten Implementierungsklassen:
TypeAnnotationInfo
public interface IBinaryTypeAnnotation
This represents class file information about an annotation instance.
-
Feldübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
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[]
-
Felddetails
-
NO_TYPE_PATH
static final int[] NO_TYPE_PATH
-
-
Methodendetails
-
getAnnotation
IBinaryAnnotation getAnnotation()- Gibt zurück:
- the annotation
-
getTargetType
int getTargetType()- Gibt zurück:
- the target type, according to the constants in
AnnotationTargetTypeConstants
-
getTypePath
int[] getTypePath()- Gibt zurück:
- the raw type path data, each pair of ints is a type path entry
-
getSupertypeIndex
int getSupertypeIndex()Applicable for target type 0x10(CLASS_EXTENDS)- Gibt zurück:
- the supertype index. -1 (65535) for superclass, 0..n for superinterfaces
-
getTypeParameterIndex
int getTypeParameterIndex()Applicable for target type 0x00(CLASS_TYPE_PARAMETER), 0x01(METHOD_TYPE_PARAMETER)- Gibt zurück:
- the type parameter index (0 based)
-
getBoundIndex
int getBoundIndex()Applicable for target type 0x11(CLASS_TYPE_PARAMETER_BOUND), 0x12(METHOD_TYPE_PARAMETER_BOUND)- Gibt zurück:
- the bound index
-
getMethodFormalParameterIndex
int getMethodFormalParameterIndex()Applicable for target type 0x16(METHOD_FORMAL_PARAMETER)- Gibt zurück:
- the method formal parameter index
-
getThrowsTypeIndex
int getThrowsTypeIndex()Applicable for target type 0x17(THROWS)- Gibt zurück:
- the throws type index
-