Package org.openjdk.asmtools.jasm
Enum Class TypeAnnotationTypes.ETargetType
java.lang.Object
java.lang.Enum<TypeAnnotationTypes.ETargetType>
org.openjdk.asmtools.jasm.TypeAnnotationTypes.ETargetType
- All Implemented Interfaces:
Serializable
,Comparable<TypeAnnotationTypes.ETargetType>
,Constable
- Enclosing class:
- TypeAnnotationTypes
Interpretation of target_type values (Table 4.7.20-A./B.)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
private final String
private final String
private final TypeAnnotationTypes.ETargetInfo
final int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ETargetType
(int val, String parse, TypeAnnotationTypes.ETargetInfo targetInfo, String printVal) -
Method Summary
Modifier and TypeMethodDescriptiongetTargetType
(int typeCode) getTargetType
(String typeName) infoKey()
parseKey()
void
print
(PrintWriter out) toString()
Returns the enum constant of this class with the specified name.static TypeAnnotationTypes.ETargetType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
class_type_param
-
meth_type_param
-
class_exts_impls
-
class_type_param_bnds
-
meth_type_param_bnds
-
field
-
meth_ret_type
-
meth_receiver
-
meth_formal_param
-
throws_type
-
local_var
-
resource_var
-
exception_param
-
type_test
-
obj_creat
-
constr_ref_receiver
-
meth_ref_receiver
-
cast
-
constr_invoc_typearg
-
meth_invoc_typearg
-
constr_ref_typearg
-
meth_ref_typearg
-
-
Field Details
-
maxTag
public static final int maxTag- See Also:
-
maxLen
public static final int maxLen- See Also:
-
value
public final int value -
parseKey
-
targetInfo
-
printVal
-
-
Constructor Details
-
ETargetType
private ETargetType(int val, String parse, TypeAnnotationTypes.ETargetInfo targetInfo, String printVal)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
parseKey
-
infoKey
-
targetInfo
-
print
-
toString
- Overrides:
toString
in classEnum<TypeAnnotationTypes.ETargetType>
-
getTargetType
-
getTargetType
-