public class IndexBinaryTypeAnnotation extends java.lang.Object implements IBinaryTypeAnnotation
NO_TYPE_PATH| Constructor and Description |
|---|
IndexBinaryTypeAnnotation(int targetType,
int info,
int info2,
int[] typePath,
IBinaryAnnotation annotation) |
| Modifier and Type | Method and Description |
|---|---|
IBinaryAnnotation |
getAnnotation() |
int |
getBoundIndex()
Applicable for target type 0x11(CLASS_TYPE_PARAMETER_BOUND), 0x12(METHOD_TYPE_PARAMETER_BOUND)
|
int |
getMethodFormalParameterIndex()
Applicable for target type 0x16(METHOD_FORMAL_PARAMETER)
|
int |
getSupertypeIndex()
Applicable for target type 0x10(CLASS_EXTENDS)
|
int |
getTargetType() |
int |
getThrowsTypeIndex()
Applicable for target type 0x17(THROWS)
|
int |
getTypeParameterIndex()
Applicable for target type 0x00(CLASS_TYPE_PARAMETER), 0x01(METHOD_TYPE_PARAMETER)
|
int[] |
getTypePath() |
java.lang.String |
toString() |
public IndexBinaryTypeAnnotation(int targetType,
int info,
int info2,
int[] typePath,
IBinaryAnnotation annotation)
public IBinaryAnnotation getAnnotation()
getAnnotation in interface IBinaryTypeAnnotationpublic int getTargetType()
getTargetType in interface IBinaryTypeAnnotationAnnotationTargetTypeConstantspublic int[] getTypePath()
getTypePath in interface IBinaryTypeAnnotationpublic int getSupertypeIndex()
IBinaryTypeAnnotationgetSupertypeIndex in interface IBinaryTypeAnnotationpublic int getTypeParameterIndex()
IBinaryTypeAnnotationgetTypeParameterIndex in interface IBinaryTypeAnnotationpublic int getBoundIndex()
IBinaryTypeAnnotationgetBoundIndex in interface IBinaryTypeAnnotationpublic int getMethodFormalParameterIndex()
IBinaryTypeAnnotationgetMethodFormalParameterIndex in interface IBinaryTypeAnnotationpublic int getThrowsTypeIndex()
IBinaryTypeAnnotationgetThrowsTypeIndex in interface IBinaryTypeAnnotationpublic java.lang.String toString()
toString in class java.lang.Object