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.
  • 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.