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.
|
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)
invoke
in interface MethodDelegationBinder.MethodInvoker
methodDescription
- The method to be invoked.Copyright © 2014–2019. All rights reserved.