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