public enum MethodHandleType extends java.lang.Enum<MethodHandleType>
| Enum Constant and Description |
|---|
GetField |
GetStatic |
InvokeInterface |
InvokeSpecial |
InvokeStatic |
InvokeVirtual |
NewInvokeSpecial |
PutField |
PutStatic |
| Modifier and Type | Method and Description |
|---|---|
static MethodHandleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MethodHandleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodHandleType GetField
public static final MethodHandleType GetStatic
public static final MethodHandleType PutField
public static final MethodHandleType PutStatic
public static final MethodHandleType InvokeVirtual
public static final MethodHandleType InvokeStatic
public static final MethodHandleType InvokeSpecial
public static final MethodHandleType NewInvokeSpecial
public static final MethodHandleType InvokeInterface
public static MethodHandleType[] values()
for (MethodHandleType c : MethodHandleType.values()) System.out.println(c);
public static MethodHandleType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is null