Interface Advice.Dispatcher.RelocationHandler.Bound

All Known Implementing Classes:
Advice.Dispatcher.RelocationHandler.Disabled, Advice.Dispatcher.RelocationHandler.ForType.Bound, Advice.Dispatcher.RelocationHandler.ForValue.Bound
Enclosing interface:
Advice.Dispatcher.RelocationHandler

public static interface Advice.Dispatcher.RelocationHandler.Bound
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Indicates that this relocation handler does not require a minimal stack size.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, int offset)
    Applies this relocation handler.
  • Field Details

    • NO_REQUIRED_SIZE

      static final int NO_REQUIRED_SIZE
      Indicates that this relocation handler does not require a minimal stack size.
      See Also:
  • Method Details

    • apply

      int apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, int offset)
      Applies this relocation handler.
      Parameters:
      methodVisitor - The method visitor to use.
      implementationContext - The implementation context to use.
      offset - The offset of the relevant value.
      Returns:
      The minimal required stack size to apply this relocation handler.