Enum MethodHandleBehaviour
- java.lang.Object
-
- java.lang.Enum<MethodHandleBehaviour>
-
- org.benf.cfr.reader.entities.bootstrap.MethodHandleBehaviour
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MethodHandleBehaviour>
public enum MethodHandleBehaviour extends java.lang.Enum<MethodHandleBehaviour>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GET_FIELD
GET_STATIC
INVOKE_INTERFACE
INVOKE_SPECIAL
INVOKE_STATIC
INVOKE_VIRTUAL
NEW_INVOKE_SPECIAL
PUT_FIELD
PUT_STATIC
-
Constructor Summary
Constructors Modifier Constructor Description private
MethodHandleBehaviour()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MethodHandleBehaviour
decode(byte value)
static MethodHandleBehaviour
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MethodHandleBehaviour[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET_FIELD
public static final MethodHandleBehaviour GET_FIELD
-
GET_STATIC
public static final MethodHandleBehaviour GET_STATIC
-
PUT_FIELD
public static final MethodHandleBehaviour PUT_FIELD
-
PUT_STATIC
public static final MethodHandleBehaviour PUT_STATIC
-
INVOKE_VIRTUAL
public static final MethodHandleBehaviour INVOKE_VIRTUAL
-
INVOKE_STATIC
public static final MethodHandleBehaviour INVOKE_STATIC
-
INVOKE_SPECIAL
public static final MethodHandleBehaviour INVOKE_SPECIAL
-
NEW_INVOKE_SPECIAL
public static final MethodHandleBehaviour NEW_INVOKE_SPECIAL
-
INVOKE_INTERFACE
public static final MethodHandleBehaviour INVOKE_INTERFACE
-
-
Method Detail
-
values
public static MethodHandleBehaviour[] 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 (MethodHandleBehaviour c : MethodHandleBehaviour.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MethodHandleBehaviour 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
-
decode
public static MethodHandleBehaviour decode(byte value)
-
-