org.aspectj.apache.bcel.classfile.annotation
Class TypeAnnotationGen
java.lang.Object
org.aspectj.apache.bcel.classfile.annotation.TypeAnnotationGen
public class TypeAnnotationGen
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_TYPE_ANNOTATIONS
public static final TypeAnnotationGen[] 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
read
public static TypeAnnotationGen read(java.io.DataInputStream dis,
ConstantPool cpool,
boolean isVisible)
throws java.io.IOException
- Throws:
java.io.IOException
readLocalVarTarget
public static int[] readLocalVarTarget(java.io.DataInputStream dis)
throws java.io.IOException
- Throws:
java.io.IOException
dump
public void dump(java.io.DataOutputStream dos)
throws java.io.IOException
- Throws:
java.io.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
public AnnotationGen getAnnotation()
getTypePath
public int[] getTypePath()
getTypePathString
public java.lang.String getTypePathString()
toTypePathString
public static java.lang.String toTypePathString(int[] typepath)