Enum DynamicInvokeType
- java.lang.Object
-
- java.lang.Enum<DynamicInvokeType>
-
- org.benf.cfr.reader.bytecode.analysis.types.DynamicInvokeType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DynamicInvokeType>
public enum DynamicInvokeType extends java.lang.Enum<DynamicInvokeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALTMETAFACTORY_1
ALTMETAFACTORY_2
BOOTSTRAP
METAFACTORY_1
METAFACTORY_2
UNKNOWN
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
constName
-
Constructor Summary
Constructors Modifier Constructor Description private
DynamicInvokeType(java.lang.String constName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConstName()
static DynamicInvokeType
lookup(java.lang.String name)
static DynamicInvokeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DynamicInvokeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final DynamicInvokeType UNKNOWN
-
BOOTSTRAP
public static final DynamicInvokeType BOOTSTRAP
-
METAFACTORY_1
public static final DynamicInvokeType METAFACTORY_1
-
METAFACTORY_2
public static final DynamicInvokeType METAFACTORY_2
-
ALTMETAFACTORY_1
public static final DynamicInvokeType ALTMETAFACTORY_1
-
ALTMETAFACTORY_2
public static final DynamicInvokeType ALTMETAFACTORY_2
-
-
Method Detail
-
values
public static DynamicInvokeType[] 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 (DynamicInvokeType c : DynamicInvokeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DynamicInvokeType 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
-
getConstName
public java.lang.String getConstName()
-
lookup
public static DynamicInvokeType lookup(java.lang.String name)
-
-