@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.TypePoolResolver.ForExplicitPool extends Object implements MemberSubstitution.TypePoolResolver
MemberSubstitution.TypePoolResolver.ForClassFileLocator, MemberSubstitution.TypePoolResolver.ForExplicitPool, MemberSubstitution.TypePoolResolver.OfImplicitPool
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.
|
public ForExplicitPool(TypePool typePool)
typePool
- The type pool to return.public TypePool resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
resolve
in interface MemberSubstitution.TypePoolResolver
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.typePool
- The type pool implicit to the instrumentation.Copyright © 2014–2021. All rights reserved.