Enum TypedLiteral.LiteralType
- java.lang.Object
-
- java.lang.Enum<TypedLiteral.LiteralType>
-
- org.benf.cfr.reader.bytecode.analysis.parse.literal.TypedLiteral.LiteralType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TypedLiteral.LiteralType>
- Enclosing class:
- TypedLiteral
public static enum TypedLiteral.LiteralType extends java.lang.Enum<TypedLiteral.LiteralType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Class
Double
Float
Integer
Long
MethodHandle
MethodType
NullObject
String
-
Constructor Summary
Constructors Modifier Constructor Description private
LiteralType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TypedLiteral.LiteralType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TypedLiteral.LiteralType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Integer
public static final TypedLiteral.LiteralType Integer
-
Long
public static final TypedLiteral.LiteralType Long
-
Double
public static final TypedLiteral.LiteralType Double
-
Float
public static final TypedLiteral.LiteralType Float
-
String
public static final TypedLiteral.LiteralType String
-
NullObject
public static final TypedLiteral.LiteralType NullObject
-
Class
public static final TypedLiteral.LiteralType Class
-
MethodHandle
public static final TypedLiteral.LiteralType MethodHandle
-
MethodType
public static final TypedLiteral.LiteralType MethodType
-
-
Method Detail
-
values
public static TypedLiteral.LiteralType[] 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 (TypedLiteral.LiteralType c : TypedLiteral.LiteralType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TypedLiteral.LiteralType 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
-
-