Package net.bytebuddy.asm
Interface MemberSubstitution.TypePoolResolver
- All Known Implementing Classes:
MemberSubstitution.TypePoolResolver.ForClassFileLocator,MemberSubstitution.TypePoolResolver.ForExplicitPool,MemberSubstitution.TypePoolResolver.OfImplicitPool
- Enclosing class:
MemberSubstitution
public static interface MemberSubstitution.TypePoolResolver
A type pool resolver is responsible for resolving a
TypePool for locating substituted members.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA type pool resolver that resolves the implicit pool but additionally checks another class file locator.static classA type pool resolver that returns a specific type pool.static enumReturns the implicit type pool. -
Method Summary
Modifier and TypeMethodDescriptionresolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Resolves a type pool to use for locating substituted members.
-
Method Details
-
resolve
TypePool resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Resolves a type pool to use for locating substituted members.- Parameters:
instrumentedType- The instrumented type.instrumentedMethod- The instrumented method.typePool- The type pool implicit to the instrumentation.- Returns:
- The type pool to use.
-