Enum Class ConstantPoolEntry.Type
java.lang.Object
java.lang.Enum<ConstantPoolEntry.Type>
org.benf.cfr.reader.entities.constantpool.ConstantPoolEntry.Type
- All Implemented Interfaces:
Serializable
,Comparable<ConstantPoolEntry.Type>
,Constable
- Enclosing interface:
- ConstantPoolEntry
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte
private static final byte
private static final byte
private static final byte
private static final byte
private static final byte
private static final byte
private static final byte
private static final byte
private static final byte
private static final byte
private static final byte
private static final byte
private static final byte
private static final byte
private static final byte
private static final byte
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConstantPoolEntry.Type
get
(byte val) static ConstantPoolEntry.Type
Returns the enum constant of this class with the specified name.static ConstantPoolEntry.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CPT_UTF8
-
CPT_Integer
-
CPT_Float
-
CPT_Long
-
CPT_Double
-
CPT_Class
-
CPT_String
-
CPT_FieldRef
-
CPT_MethodRef
-
CPT_InterfaceMethodRef
-
CPT_NameAndType
-
CPT_MethodHandle
-
CPT_MethodType
-
CPT_DynamicInfo
-
CPT_InvokeDynamic
-
CPT_ModuleInfo
-
CPT_PackageInfo
-
-
Field Details
-
VAL_UTF8
private static final byte VAL_UTF8- See Also:
-
VAL_Integer
private static final byte VAL_Integer- See Also:
-
VAL_Float
private static final byte VAL_Float- See Also:
-
VAL_Long
private static final byte VAL_Long- See Also:
-
VAL_Double
private static final byte VAL_Double- See Also:
-
VAL_Class
private static final byte VAL_Class- See Also:
-
VAL_String
private static final byte VAL_String- See Also:
-
VAL_FieldRef
private static final byte VAL_FieldRef- See Also:
-
VAL_MethodRef
private static final byte VAL_MethodRef- See Also:
-
VAL_InterfaceMethodRef
private static final byte VAL_InterfaceMethodRef- See Also:
-
VAL_NameAndType
private static final byte VAL_NameAndType- See Also:
-
VAL_MethodHandle
private static final byte VAL_MethodHandle- See Also:
-
VAL_MethodType
private static final byte VAL_MethodType- See Also:
-
VAL_DynamicInfo
private static final byte VAL_DynamicInfo- See Also:
-
VAL_InvokeDynamic
private static final byte VAL_InvokeDynamic- See Also:
-
VAL_ModuleInfo
private static final byte VAL_ModuleInfo- See Also:
-
VAL_PackageInfo
private static final byte VAL_PackageInfo- See Also:
-
-
Constructor Details
-
Type
private Type()
-
-
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
-
get
-