@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.TypePoolResolver.ForExplicitPool extends java.lang.Object implements MemberSubstitution.TypePoolResolver
MemberSubstitution.TypePoolResolver.ForClassFileLocator, MemberSubstitution.TypePoolResolver.ForExplicitPool, MemberSubstitution.TypePoolResolver.OfImplicitPool| Modifier and Type | Field and Description |
|---|---|
private TypePool |
typePool
The type pool to return.
|
| Constructor and Description |
|---|
ForExplicitPool(TypePool typePool)
Creates a resolver for an explicit type pool.
|
| Modifier and Type | Method and Description |
|---|---|
TypePool |
resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
TypePool typePool)
Resolves a type pool to use for locating substituted members.
|
private final TypePool typePool
public ForExplicitPool(TypePool typePool)
typePool - The type pool to return.public 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.