Package org.openjdk.asmtools.jasm
Enum TypeAnnotationTypes.ETargetInfo
- java.lang.Object
-
- java.lang.Enum<TypeAnnotationTypes.ETargetInfo>
-
- org.openjdk.asmtools.jasm.TypeAnnotationTypes.ETargetInfo
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TypeAnnotationTypes.ETargetInfo>
- Enclosing class:
- TypeAnnotationTypes
public static enum TypeAnnotationTypes.ETargetInfo extends java.lang.Enum<TypeAnnotationTypes.ETargetInfo>
union { type_parameter_target; supertype_target; type_parameter_bound_target; empty_target; method_formal_parameter_target; throws_target; localvar_target; catch_target; offset_target; type_argument_target; } target_info;
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CATCH
EMPTY
EXCEPTION
LOCALVAR
METHODPARAM
OFFSET
SUPERTYPE
TYPEARG
TYPEPARAM
TYPEPARAM_BOUND
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
parseKey
private java.lang.String
printValue
-
Constructor Summary
Constructors Modifier Constructor Description private
ETargetInfo(java.lang.String parse, java.lang.String printValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
parseKey()
java.lang.String
printValue()
static TypeAnnotationTypes.ETargetInfo
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TypeAnnotationTypes.ETargetInfo[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPEPARAM
public static final TypeAnnotationTypes.ETargetInfo TYPEPARAM
-
SUPERTYPE
public static final TypeAnnotationTypes.ETargetInfo SUPERTYPE
-
TYPEPARAM_BOUND
public static final TypeAnnotationTypes.ETargetInfo TYPEPARAM_BOUND
-
EMPTY
public static final TypeAnnotationTypes.ETargetInfo EMPTY
-
METHODPARAM
public static final TypeAnnotationTypes.ETargetInfo METHODPARAM
-
EXCEPTION
public static final TypeAnnotationTypes.ETargetInfo EXCEPTION
-
LOCALVAR
public static final TypeAnnotationTypes.ETargetInfo LOCALVAR
-
CATCH
public static final TypeAnnotationTypes.ETargetInfo CATCH
-
OFFSET
public static final TypeAnnotationTypes.ETargetInfo OFFSET
-
TYPEARG
public static final TypeAnnotationTypes.ETargetInfo TYPEARG
-
-
Method Detail
-
values
public static TypeAnnotationTypes.ETargetInfo[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TypeAnnotationTypes.ETargetInfo c : TypeAnnotationTypes.ETargetInfo.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TypeAnnotationTypes.ETargetInfo valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
parseKey
public java.lang.String parseKey()
-
printValue
public java.lang.String printValue()
-
-