Package org.objectweb.asm.util
Enum CheckMethodAdapter.Method
- java.lang.Object
-
- java.lang.Enum<CheckMethodAdapter.Method>
-
- org.objectweb.asm.util.CheckMethodAdapter.Method
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CheckMethodAdapter.Method>
- Enclosing class:
- CheckMethodAdapter
private static enum CheckMethodAdapter.Method extends java.lang.Enum<CheckMethodAdapter.Method>
The 'generic' instruction visit methods (i.e. those that take an opcode argument).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description VISIT_FIELD_INSN
VISIT_INSN
VISIT_INT_INSN
VISIT_JUMP_INSN
VISIT_METHOD_INSN
VISIT_TYPE_INSN
VISIT_VAR_INSN
-
Constructor Summary
Constructors Modifier Constructor Description private
Method()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CheckMethodAdapter.Method
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CheckMethodAdapter.Method[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VISIT_INSN
public static final CheckMethodAdapter.Method VISIT_INSN
-
VISIT_INT_INSN
public static final CheckMethodAdapter.Method VISIT_INT_INSN
-
VISIT_VAR_INSN
public static final CheckMethodAdapter.Method VISIT_VAR_INSN
-
VISIT_TYPE_INSN
public static final CheckMethodAdapter.Method VISIT_TYPE_INSN
-
VISIT_FIELD_INSN
public static final CheckMethodAdapter.Method VISIT_FIELD_INSN
-
VISIT_METHOD_INSN
public static final CheckMethodAdapter.Method VISIT_METHOD_INSN
-
VISIT_JUMP_INSN
public static final CheckMethodAdapter.Method VISIT_JUMP_INSN
-
-
Method Detail
-
values
public static CheckMethodAdapter.Method[] 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 (CheckMethodAdapter.Method c : CheckMethodAdapter.Method.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CheckMethodAdapter.Method 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
-
-