Class TypeAnnotation
- java.lang.Object
-
- org.jetbrains.java.decompiler.modules.decompiler.exps.TypeAnnotation
-
public class TypeAnnotation extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intCATCH_CLAUSEstatic intCLASS_TYPE_PARAMETERstatic intCLASS_TYPE_PARAMETER_BOUNDstatic intEXPR_CONSTRUCTOR_REFstatic intEXPR_INSTANCEOFstatic intEXPR_METHOD_REFstatic intEXPR_NEWstatic intFIELDstatic intLOCAL_VARIABLEstatic intMETHOD_PARAMETERstatic intMETHOD_RECEIVERstatic intMETHOD_RETURN_TYPEstatic intMETHOD_TYPE_PARAMETERstatic intMETHOD_TYPE_PARAMETER_BOUNDstatic intRESOURCE_VARIABLEstatic intSUPER_TYPE_REFERENCEstatic intTHROWS_REFERENCEstatic intTYPE_ARG_CASTstatic intTYPE_ARG_CONSTRUCTOR_CALLstatic intTYPE_ARG_CONSTRUCTOR_REFstatic intTYPE_ARG_METHOD_CALLstatic intTYPE_ARG_METHOD_REF
-
Constructor Summary
Constructors Constructor Description TypeAnnotation(int target, byte[] path, AnnotationExprent annotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationExprentgetAnnotation()intgetIndex()intgetTargetType()booleanisTopLevel()
-
-
-
Field Detail
-
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
-
SUPER_TYPE_REFERENCE
public static final int SUPER_TYPE_REFERENCE
- 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_TYPE
public static final int METHOD_RETURN_TYPE
- See Also:
- Constant Field Values
-
METHOD_RECEIVER
public static final int METHOD_RECEIVER
- See Also:
- Constant Field Values
-
METHOD_PARAMETER
public static final int METHOD_PARAMETER
- See Also:
- Constant Field Values
-
THROWS_REFERENCE
public static final int THROWS_REFERENCE
- 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
-
CATCH_CLAUSE
public static final int CATCH_CLAUSE
- See Also:
- Constant Field Values
-
EXPR_INSTANCEOF
public static final int EXPR_INSTANCEOF
- See Also:
- Constant Field Values
-
EXPR_NEW
public static final int EXPR_NEW
- See Also:
- Constant Field Values
-
EXPR_CONSTRUCTOR_REF
public static final int EXPR_CONSTRUCTOR_REF
- See Also:
- Constant Field Values
-
EXPR_METHOD_REF
public static final int EXPR_METHOD_REF
- See Also:
- Constant Field Values
-
TYPE_ARG_CAST
public static final int TYPE_ARG_CAST
- See Also:
- Constant Field Values
-
TYPE_ARG_CONSTRUCTOR_CALL
public static final int TYPE_ARG_CONSTRUCTOR_CALL
- See Also:
- Constant Field Values
-
TYPE_ARG_METHOD_CALL
public static final int TYPE_ARG_METHOD_CALL
- See Also:
- Constant Field Values
-
TYPE_ARG_CONSTRUCTOR_REF
public static final int TYPE_ARG_CONSTRUCTOR_REF
- See Also:
- Constant Field Values
-
TYPE_ARG_METHOD_REF
public static final int TYPE_ARG_METHOD_REF
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TypeAnnotation
public TypeAnnotation(int target, byte[] path, AnnotationExprent annotation)
-
-
Method Detail
-
getTargetType
public int getTargetType()
-
getIndex
public int getIndex()
-
isTopLevel
public boolean isTopLevel()
-
getAnnotation
public AnnotationExprent getAnnotation()
-
-