Enum Class TypeAnnotationEntryValue
java.lang.Object
java.lang.Enum<TypeAnnotationEntryValue>
org.benf.cfr.reader.entities.attributes.TypeAnnotationEntryValue
- All Implemented Interfaces:
Serializable
,Comparable<TypeAnnotationEntryValue>
,Constable
-
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 TypeFieldDescriptionprivate TypeAnnotationLocation
private static final Map<Short,
TypeAnnotationEntryValue> private TypeAnnotationEntryKind
private short
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
TypeAnnotationEntryValue
(int value, TypeAnnotationEntryKind type_parameter_target, TypeAnnotationLocation location) -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeAnnotationEntryValue
get
(short value) getKind()
static TypeAnnotationEntryValue
Returns the enum constant of this class with the specified name.static TypeAnnotationEntryValue[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
type_generic_class_interface
-
type_generic_method_constructor
-
type_extends_implements
-
type_type_parameter_class_interface
-
type_type_parameter_method_constructor
-
type_field
-
type_ret_or_new
-
type_receiver
-
type_formal
-
type_throws
-
type_localvar
-
type_resourcevar
-
type_exceptionparameter
-
type_instanceof
-
type_new
-
type_methodrefnew
-
type_methodrefident
-
type_cast
-
type_generic_cons_new
-
type_generic_methodinvoke
-
type_generic_cons_methodrefnew
-
type_generic_methodrefident
-
-
Field Details
-
value
private short value -
type_parameter_target
-
location
-
lut
-
-
Constructor Details
-
TypeAnnotationEntryValue
private TypeAnnotationEntryValue(int value, TypeAnnotationEntryKind type_parameter_target, TypeAnnotationLocation location)
-
-
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
-
getKind
-
getLocation
-
get
-