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