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 classTypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.ActiveAn active frame writer that creates the most efficient frame.static enumA frame writer that creates an expanded frame.static enumA 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.
-