public static enum MemberSubstitution.TypePoolResolver.OfImplicitPool extends Enum<MemberSubstitution.TypePoolResolver.OfImplicitPool> implements MemberSubstitution.TypePoolResolver
MemberSubstitution.TypePoolResolver.ForClassFileLocator, MemberSubstitution.TypePoolResolver.ForExplicitPool, MemberSubstitution.TypePoolResolver.OfImplicitPool| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
TypePool |
resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
TypePool typePool)
Resolves a type pool to use for locating substituted members.
|
static MemberSubstitution.TypePoolResolver.OfImplicitPool |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemberSubstitution.TypePoolResolver.OfImplicitPool[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemberSubstitution.TypePoolResolver.OfImplicitPool INSTANCE
public static MemberSubstitution.TypePoolResolver.OfImplicitPool[] values()
for (MemberSubstitution.TypePoolResolver.OfImplicitPool c : MemberSubstitution.TypePoolResolver.OfImplicitPool.values()) System.out.println(c);
public static MemberSubstitution.TypePoolResolver.OfImplicitPool 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 TypePool resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
resolve in interface MemberSubstitution.TypePoolResolverinstrumentedType - The instrumented type.instrumentedMethod - The instrumented method.typePool - The type pool implicit to the instrumentation.Copyright © 2014–2019. All rights reserved.