protected static enum MethodCall.MethodInvoker.ForVirtualInvocation.WithImplicitType extends Enum<MethodCall.MethodInvoker.ForVirtualInvocation.WithImplicitType> implements MethodCall.MethodInvoker, MethodCall.MethodInvoker.Factory
MethodCall.MethodInvoker.Factory, 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 |
|---|---|
MethodCall.MethodInvoker |
make(TypeDescription instrumentedType)
Creates a method invoker.
|
StackManipulation |
toStackManipulation(MethodDescription invokedMethod,
Implementation.Target implementationTarget)
Invokes the method.
|
static MethodCall.MethodInvoker.ForVirtualInvocation.WithImplicitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodCall.MethodInvoker.ForVirtualInvocation.WithImplicitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodCall.MethodInvoker.ForVirtualInvocation.WithImplicitType INSTANCE
public static MethodCall.MethodInvoker.ForVirtualInvocation.WithImplicitType[] values()
for (MethodCall.MethodInvoker.ForVirtualInvocation.WithImplicitType c : MethodCall.MethodInvoker.ForVirtualInvocation.WithImplicitType.values()) System.out.println(c);
public static MethodCall.MethodInvoker.ForVirtualInvocation.WithImplicitType 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 MethodCall.MethodInvoker make(TypeDescription instrumentedType)
make in interface MethodCall.MethodInvoker.FactoryinstrumentedType - The instrumented type.public StackManipulation toStackManipulation(MethodDescription invokedMethod, Implementation.Target implementationTarget)
toStackManipulation in interface MethodCall.MethodInvokerinvokedMethod - The method to be invoked.implementationTarget - The implementation target of the instrumented instance.Copyright © 2014–2019. All rights reserved.