Interface Advice.BootstrapArgumentResolver

All Known Implementing Classes:
Advice.BootstrapArgumentResolver.ForDefaultValues
Enclosing class:
Advice

public static interface Advice.BootstrapArgumentResolver
A resolver for the arguments that are provided to a bootstrap method if dynamic dispatch is used.
  • Method Details

    • resolve

      List<JavaConstant> resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod)
      Resolves the constants that are provided as arguments to the bootstrap methods.
      Parameters:
      instrumentedType - The instrumented type.
      instrumentedMethod - The instrumented method.
      Returns:
      A list of constants to supply as arguments to the bootstrap method.