Package net.bytebuddy.dynamic.scaffold
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
protected static interface TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter
A frame writer is responsible for adding empty frames on jump instructions.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Active
An active frame writer that creates the most efficient frame.static enum
A frame writer that creates an expanded frame.static enum
A non-operational frame writer. -
Field Summary
Fields -
Method Summary
-
Field Details
-
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.
-