Interface Advice.Delegator

All Known Implementing Classes:
Advice.Delegator.ForDynamicInvocation, Advice.Delegator.ForStaticInvocation
Enclosing class:
Advice

protected static interface Advice.Delegator
Materializes an advice invocation within a delegation.
  • Method Details

    • apply

      void apply(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription.InDefinedShape adviceMethod, TypeDescription instrumentedType, MethodDescription instrumentedMethod, boolean exit)
      Materializes an invocation.
      Parameters:
      methodVisitor - The method visitor to apply the materialization to.
      adviceMethod - The advice method to materialize.
      instrumentedType - The instrumented type.
      instrumentedMethod - The instrumented method.
      exit - true if the materialization is exit advice.