public static enum MethodDelegationBinder.MethodInvoker.Simple extends Enum<MethodDelegationBinder.MethodInvoker.Simple> implements MethodDelegationBinder.MethodInvoker
MethodInvocation.MethodDelegationBinder.MethodInvoker.Simple, MethodDelegationBinder.MethodInvoker.Virtual| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
StackManipulation |
invoke(MethodDescription methodDescription)
Creates a method invocation for a given method.
|
String |
toString() |
static MethodDelegationBinder.MethodInvoker.Simple |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodDelegationBinder.MethodInvoker.Simple[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodDelegationBinder.MethodInvoker.Simple INSTANCE
public static MethodDelegationBinder.MethodInvoker.Simple[] values()
for (MethodDelegationBinder.MethodInvoker.Simple c : MethodDelegationBinder.MethodInvoker.Simple.values()) System.out.println(c);
public static MethodDelegationBinder.MethodInvoker.Simple 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 StackManipulation invoke(MethodDescription methodDescription)
MethodDelegationBinder.MethodInvokerinvoke in interface MethodDelegationBinder.MethodInvokermethodDescription - The method to be invoked.public String toString()
toString in class Enum<MethodDelegationBinder.MethodInvoker.Simple>Copyright © 2014–2016. All rights reserved.