public static enum MethodCall.MethodInvoker.ForDefaultMethodInvocation extends Enum<MethodCall.MethodInvoker.ForDefaultMethodInvocation> implements MethodCall.MethodInvoker
MethodCall.MethodInvoker.ForContextualInvocation, MethodCall.MethodInvoker.ForDefaultMethodInvocation, MethodCall.MethodInvoker.ForSuperMethodInvocation, MethodCall.MethodInvoker.ForVirtualInvocation
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
invoke(MethodDescription invokedMethod,
Implementation.Target implementationTarget)
Invokes the method.
|
String |
toString() |
static MethodCall.MethodInvoker.ForDefaultMethodInvocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodCall.MethodInvoker.ForDefaultMethodInvocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodCall.MethodInvoker.ForDefaultMethodInvocation INSTANCE
public static MethodCall.MethodInvoker.ForDefaultMethodInvocation[] values()
for (MethodCall.MethodInvoker.ForDefaultMethodInvocation c : MethodCall.MethodInvoker.ForDefaultMethodInvocation.values()) System.out.println(c);
public static MethodCall.MethodInvoker.ForDefaultMethodInvocation 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 invokedMethod, Implementation.Target implementationTarget)
MethodCall.MethodInvoker
invoke
in interface MethodCall.MethodInvoker
invokedMethod
- The method to be invoked.implementationTarget
- The implementation target of the instrumented instance.public String toString()
toString
in class Enum<MethodCall.MethodInvoker.ForDefaultMethodInvocation>
Copyright © 2014–2016. All rights reserved.