static enum MemberSubstitution.Substitution.ForMethodInvocation.OfInstrumentedMethod extends java.lang.Enum<MemberSubstitution.Substitution.ForMethodInvocation.OfInstrumentedMethod> implements MemberSubstitution.Substitution.Factory
| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
MemberSubstitution.Substitution |
make(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
TypePool typePool)
Creates a substitution for an instrumented method.
|
static MemberSubstitution.Substitution.ForMethodInvocation.OfInstrumentedMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MemberSubstitution.Substitution.ForMethodInvocation.OfInstrumentedMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemberSubstitution.Substitution.ForMethodInvocation.OfInstrumentedMethod INSTANCE
public static MemberSubstitution.Substitution.ForMethodInvocation.OfInstrumentedMethod[] values()
for (MemberSubstitution.Substitution.ForMethodInvocation.OfInstrumentedMethod c : MemberSubstitution.Substitution.ForMethodInvocation.OfInstrumentedMethod.values()) System.out.println(c);
public static MemberSubstitution.Substitution.ForMethodInvocation.OfInstrumentedMethod valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic MemberSubstitution.Substitution make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
make in interface MemberSubstitution.Substitution.FactoryinstrumentedType - The instrumented type.instrumentedMethod - The instrumented method.typePool - The type pool being used.