Interface TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter

All Known Implementing Classes:
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Active, TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Expanding, TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.NoOp
Enclosing class:
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending

protected static interface TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter
A frame writer is responsible for adding empty frames on jump instructions.
  • Field Details

    • EMPTY

      static final Object[] EMPTY
      An empty array.
  • Method Details

    • onFrame

      void onFrame(int type, int localVariableLength)
      Informs this frame writer of an observed frame.
      Parameters:
      type - The frame type.
      localVariableLength - The length of the local variables array.
    • emitFrame

      void emitFrame(org.objectweb.asm.MethodVisitor methodVisitor)
      Emits an empty frame.
      Parameters:
      methodVisitor - The method visitor to write the frame to.