public static enum MethodHandleCPInfo.ReferenceKind extends Enum<MethodHandleCPInfo.ReferenceKind>
Enum Constant and Description |
---|
REF_getField |
REF_getStatic |
REF_invokeInterface |
REF_invokeSpecial |
REF_invokeStatic |
REF_invokeVirtual |
REF_newInvokeSpecial |
REF_putField |
REF_putStatic |
Modifier and Type | Method and Description |
---|---|
static MethodHandleCPInfo.ReferenceKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodHandleCPInfo.ReferenceKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodHandleCPInfo.ReferenceKind REF_getField
public static final MethodHandleCPInfo.ReferenceKind REF_getStatic
public static final MethodHandleCPInfo.ReferenceKind REF_invokeInterface
public static final MethodHandleCPInfo.ReferenceKind REF_invokeSpecial
public static final MethodHandleCPInfo.ReferenceKind REF_invokeStatic
public static final MethodHandleCPInfo.ReferenceKind REF_invokeVirtual
public static final MethodHandleCPInfo.ReferenceKind REF_newInvokeSpecial
public static final MethodHandleCPInfo.ReferenceKind REF_putField
public static final MethodHandleCPInfo.ReferenceKind REF_putStatic
public static MethodHandleCPInfo.ReferenceKind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static MethodHandleCPInfo.ReferenceKind[] values()
for (MethodHandleCPInfo.ReferenceKind c : MethodHandleCPInfo.ReferenceKind.values()) System.out.println(c);