public static enum MethodHandle.Kind extends Enum<MethodHandle.Kind>
| Enum Constant and Description |
|---|
REF_GET_FIELD |
REF_GET_FIELD_STATIC |
REF_INVOKE_CONSTRUCTOR |
REF_INVOKE_INTERFACE |
REF_INVOKE_SPECIAL |
REF_INVOKE_STATIC |
REF_INVOKE_VIRTUAL |
REF_PUT_FIELD |
REF_PUT_FIELD_STATIC |
| Modifier and Type | Method and Description |
|---|---|
static MethodHandle.Kind |
getKind(int kind) |
static MethodHandle.Kind |
getKind(String kind) |
int |
getValue() |
String |
toString() |
static MethodHandle.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodHandle.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodHandle.Kind REF_GET_FIELD
public static final MethodHandle.Kind REF_GET_FIELD_STATIC
public static final MethodHandle.Kind REF_PUT_FIELD
public static final MethodHandle.Kind REF_PUT_FIELD_STATIC
public static final MethodHandle.Kind REF_INVOKE_VIRTUAL
public static final MethodHandle.Kind REF_INVOKE_STATIC
public static final MethodHandle.Kind REF_INVOKE_SPECIAL
public static final MethodHandle.Kind REF_INVOKE_CONSTRUCTOR
public static final MethodHandle.Kind REF_INVOKE_INTERFACE
public static MethodHandle.Kind[] values()
for (MethodHandle.Kind c : MethodHandle.Kind.values()) System.out.println(c);
public static MethodHandle.Kind 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 String toString()
toString in class Enum<MethodHandle.Kind>public int getValue()
public static MethodHandle.Kind getKind(int kind)
public static MethodHandle.Kind getKind(String kind)
Copyright © 2020 Soot OSS. All rights reserved.