Class TypeAnnotationGen
java.lang.Object
org.aspectj.apache.bcel.classfile.annotation.TypeAnnotationGen
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static TypeAnnotationGen[]
static int[]
static int
static int
static int
static int
static int
static int
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dump(DataOutputStream dos)
int
int
int[]
int
int
int
int
int
int
int
int[]
static TypeAnnotationGen
read(DataInputStream dis, ConstantPool cpool, boolean isVisible)
static int[]
static String
toTypePathString(int[] typepath)
-
Field Details
-
NO_TYPE_ANNOTATIONS
-
NO_TYPE_PATH
public static final int[] NO_TYPE_PATH -
CLASS_TYPE_PARAMETER
public static final int CLASS_TYPE_PARAMETER- See Also:
- Constant Field Values
-
METHOD_TYPE_PARAMETER
public static final int METHOD_TYPE_PARAMETER- See Also:
- Constant Field Values
-
CLASS_EXTENDS
public static final int CLASS_EXTENDS- See Also:
- Constant Field Values
-
CLASS_TYPE_PARAMETER_BOUND
public static final int CLASS_TYPE_PARAMETER_BOUND- See Also:
- Constant Field Values
-
METHOD_TYPE_PARAMETER_BOUND
public static final int METHOD_TYPE_PARAMETER_BOUND- See Also:
- Constant Field Values
-
FIELD
public static final int FIELD- See Also:
- Constant Field Values
-
METHOD_RETURN
public static final int METHOD_RETURN- See Also:
- Constant Field Values
-
METHOD_RECEIVER
public static final int METHOD_RECEIVER- See Also:
- Constant Field Values
-
METHOD_FORMAL_PARAMETER
public static final int METHOD_FORMAL_PARAMETER- See Also:
- Constant Field Values
-
THROWS
public static final int THROWS- See Also:
- Constant Field Values
-
LOCAL_VARIABLE
public static final int LOCAL_VARIABLE- See Also:
- Constant Field Values
-
RESOURCE_VARIABLE
public static final int RESOURCE_VARIABLE- See Also:
- Constant Field Values
-
EXCEPTION_PARAMETER
public static final int EXCEPTION_PARAMETER- See Also:
- Constant Field Values
-
INSTANCEOF
public static final int INSTANCEOF- See Also:
- Constant Field Values
-
NEW
public static final int NEW- See Also:
- Constant Field Values
-
CONSTRUCTOR_REFERENCE
public static final int CONSTRUCTOR_REFERENCE- See Also:
- Constant Field Values
-
METHOD_REFERENCE
public static final int METHOD_REFERENCE- See Also:
- Constant Field Values
-
CAST
public static final int CAST- See Also:
- Constant Field Values
-
CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
public static final int CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT- See Also:
- Constant Field Values
-
METHOD_INVOCATION_TYPE_ARGUMENT
public static final int METHOD_INVOCATION_TYPE_ARGUMENT- See Also:
- Constant Field Values
-
CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
public static final int CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT- See Also:
- Constant Field Values
-
METHOD_REFERENCE_TYPE_ARGUMENT
public static final int METHOD_REFERENCE_TYPE_ARGUMENT- See Also:
- Constant Field Values
-
TYPE_PATH_ENTRY_KIND_ARRAY
public static final int TYPE_PATH_ENTRY_KIND_ARRAY- See Also:
- Constant Field Values
-
TYPE_PATH_ENTRY_KIND_INNER_TYPE
public static final int TYPE_PATH_ENTRY_KIND_INNER_TYPE- See Also:
- Constant Field Values
-
TYPE_PATH_ENTRY_KIND_WILDCARD
public static final int TYPE_PATH_ENTRY_KIND_WILDCARD- See Also:
- Constant Field Values
-
TYPE_PATH_ENTRY_KIND_TYPE_ARGUMENT
public static final int TYPE_PATH_ENTRY_KIND_TYPE_ARGUMENT- See Also:
- Constant Field Values
-
-
Method Details
-
read
public static TypeAnnotationGen read(DataInputStream dis, ConstantPool cpool, boolean isVisible) throws IOException- Throws:
IOException
-
readLocalVarTarget
- Throws:
IOException
-
dump
- Throws:
IOException
-
getSupertypeIndex
public int getSupertypeIndex() -
getOffset
public int getOffset() -
getTypeParameterIndex
public int getTypeParameterIndex() -
getTypeArgumentIndex
public int getTypeArgumentIndex() -
getBoundIndex
public int getBoundIndex() -
getMethodFormalParameterIndex
public int getMethodFormalParameterIndex() -
getThrowsTypeIndex
public int getThrowsTypeIndex() -
getLocalVarTarget
public int[] getLocalVarTarget() -
getExceptionTableIndex
public int getExceptionTableIndex() -
getTargetType
public int getTargetType() -
getAnnotation
-
getTypePath
public int[] getTypePath() -
getTypePathString
-
toTypePathString
-