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 Classes Modifier and Type Interface Description static class
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Active
An active frame writer that creates the most efficient frame.static class
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Expanding
A frame writer that creates an expanded frame.static class
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.NoOp
A non-operational frame writer.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Object[]
EMPTY
An empty array.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
emitFrame(org.objectweb.asm.MethodVisitor methodVisitor)
Emits an empty frame.void
onFrame(int type, int localVariableLength)
Informs this frame writer of an observed frame.
-
-
-
Method Detail
-
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.
-
-