Class Implementation.Simple.ForDispatcher

java.lang.Object
net.bytebuddy.implementation.Implementation.Simple.ForDispatcher
All Implemented Interfaces:
InstrumentedType.Prepareable, Implementation
Enclosing class:
Implementation.Simple

@Enhance protected static class Implementation.Simple.ForDispatcher extends Object implements Implementation
A ByteCodeAppender for a dispatcher.
  • Field Details

    • dispatcher

      private final Implementation.Simple.Dispatcher dispatcher
      The dispatcher to use.
    • prepareable

      private final InstrumentedType.Prepareable prepareable
      A preparation of the instrumented type.
    • additionalVariableLength

      private final int additionalVariableLength
      The additional length of the local variable array.
  • Constructor Details

    • ForDispatcher

      protected ForDispatcher(Implementation.Simple.Dispatcher dispatcher, InstrumentedType.Prepareable prepareable, int additionalVariableLength)
      Creates a new byte code appender for a dispatcher.
      Parameters:
      dispatcher - The dispatcher to use.
      prepareable - A preparation of the instrumented type.
      additionalVariableLength - The additional length of the local variable array.
  • Method Details