public static enum MethodCall.ArgumentLoader.ForThisReference.Factory extends Enum<MethodCall.ArgumentLoader.ForThisReference.Factory> implements MethodCall.ArgumentLoader.Factory
this
value as an argument.InstrumentedType.Prepareable.NoOp
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
MethodCall.ArgumentLoader.ArgumentProvider |
make(Implementation.Target implementationTarget)
Creates an argument provider for the supplied implementation target.
|
InstrumentedType |
prepare(InstrumentedType instrumentedType)
Prepares a given instrumented type.
|
static MethodCall.ArgumentLoader.ForThisReference.Factory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodCall.ArgumentLoader.ForThisReference.Factory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodCall.ArgumentLoader.ForThisReference.Factory INSTANCE
public static MethodCall.ArgumentLoader.ForThisReference.Factory[] values()
for (MethodCall.ArgumentLoader.ForThisReference.Factory c : MethodCall.ArgumentLoader.ForThisReference.Factory.values()) System.out.println(c);
public static MethodCall.ArgumentLoader.ForThisReference.Factory 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 InstrumentedType prepare(InstrumentedType instrumentedType)
prepare
in interface InstrumentedType.Prepareable
instrumentedType
- The instrumented type in its current form.public MethodCall.ArgumentLoader.ArgumentProvider make(Implementation.Target implementationTarget)
make
in interface MethodCall.ArgumentLoader.Factory
implementationTarget
- The implementation target to use.Copyright © 2014–2025. All rights reserved.