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 aTypePool
for locating substituted members.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
MemberSubstitution.TypePoolResolver.ForClassFileLocator
A type pool resolver that resolves the implicit pool but additionally checks another class file locator.static class
MemberSubstitution.TypePoolResolver.ForExplicitPool
A type pool resolver that returns a specific type pool.static class
MemberSubstitution.TypePoolResolver.OfImplicitPool
Returns the implicit type pool.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypePool
resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
Resolves a type pool to use for locating substituted members.
-
-
-
Method Detail
-
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.
-
-