public static enum Hacks.CallStrategy extends java.lang.Enum<Hacks.CallStrategy>
| Enum Constant and Description |
|---|
DEFAULT |
DIRECT |
STATIC |
STATIC_DIRECT |
| Modifier and Type | Method and Description |
|---|---|
static Hacks.CallStrategy |
byName(java.lang.String strategy) |
<T> T |
call(java.lang.String s,
java.lang.Object... args) |
static <T> T |
callWith(java.lang.String strategy,
java.lang.String s,
java.lang.Object... args) |
<T> T |
get(java.lang.Object... args) |
<T> T |
invoke(java.lang.Object... args) |
void |
set(java.lang.Object... args) |
static Hacks.CallStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Hacks.CallStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Hacks.CallStrategy DEFAULT
public static final Hacks.CallStrategy DIRECT
public static final Hacks.CallStrategy STATIC
public static final Hacks.CallStrategy STATIC_DIRECT
public static Hacks.CallStrategy[] values()
for (Hacks.CallStrategy c : Hacks.CallStrategy.values()) System.out.println(c);
public static Hacks.CallStrategy 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 static Hacks.CallStrategy byName(java.lang.String strategy)
public static <T> T callWith(java.lang.String strategy,
java.lang.String s,
java.lang.Object... args)
public <T> T call(java.lang.String s,
java.lang.Object... args)
public <T> T get(java.lang.Object... args)
public <T> T invoke(java.lang.Object... args)
public void set(java.lang.Object... args)