public static enum RuntimePatcher.At extends java.lang.Enum<RuntimePatcher.At>
| Enum Constant and Description |
|---|
LDC
At a LDC node
Arguments: Object value
|
METHOD
At a method call
Arguments: String method, Object...
|
NODE
At a node
Arguments: int opcode
|
RETURN
At all the returns
Arguments: none
|
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.function.Predicate<MethodPatcher.PredicateData> |
getPredicate(java.lang.Object... args) |
static RuntimePatcher.At |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RuntimePatcher.At[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuntimePatcher.At METHOD
public static final RuntimePatcher.At RETURN
public static final RuntimePatcher.At LDC
public static final RuntimePatcher.At NODE
public static RuntimePatcher.At[] values()
for (RuntimePatcher.At c : RuntimePatcher.At.values()) System.out.println(c);
public static RuntimePatcher.At 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 nullpublic abstract java.util.function.Predicate<MethodPatcher.PredicateData> getPredicate(java.lang.Object... args)