Package soot.jimple
Enum MethodHandle.Kind
- java.lang.Object
-
- java.lang.Enum<MethodHandle.Kind>
-
- soot.jimple.MethodHandle.Kind
-
- All Implemented Interfaces:
Serializable,Comparable<MethodHandle.Kind>
- Enclosing class:
- MethodHandle
public static enum MethodHandle.Kind extends Enum<MethodHandle.Kind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REF_GET_FIELDREF_GET_FIELD_STATICREF_INVOKE_CONSTRUCTORREF_INVOKE_INTERFACEREF_INVOKE_SPECIALREF_INVOKE_STATICREF_INVOKE_VIRTUALREF_PUT_FIELDREF_PUT_FIELD_STATIC
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MethodHandle.KindgetKind(int kind)static MethodHandle.KindgetKind(String kind)intgetValue()StringtoString()static MethodHandle.KindvalueOf(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.
-
-
-
Enum Constant Detail
-
REF_GET_FIELD
public static final MethodHandle.Kind REF_GET_FIELD
-
REF_GET_FIELD_STATIC
public static final MethodHandle.Kind REF_GET_FIELD_STATIC
-
REF_PUT_FIELD
public static final MethodHandle.Kind REF_PUT_FIELD
-
REF_PUT_FIELD_STATIC
public static final MethodHandle.Kind REF_PUT_FIELD_STATIC
-
REF_INVOKE_VIRTUAL
public static final MethodHandle.Kind REF_INVOKE_VIRTUAL
-
REF_INVOKE_STATIC
public static final MethodHandle.Kind REF_INVOKE_STATIC
-
REF_INVOKE_SPECIAL
public static final MethodHandle.Kind REF_INVOKE_SPECIAL
-
REF_INVOKE_CONSTRUCTOR
public static final MethodHandle.Kind REF_INVOKE_CONSTRUCTOR
-
REF_INVOKE_INTERFACE
public static final MethodHandle.Kind REF_INVOKE_INTERFACE
-
-
Method Detail
-
values
public static MethodHandle.Kind[] 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 (MethodHandle.Kind c : MethodHandle.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MethodHandle.Kind valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<MethodHandle.Kind>
-
getValue
public int getValue()
-
getKind
public static MethodHandle.Kind getKind(int kind)
-
getKind
public static MethodHandle.Kind getKind(String kind)
-
-