Package net.bytebuddy.dynamic.scaffold
Class TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Active
java.lang.Object
net.bytebuddy.dynamic.scaffold.TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Active
- All Implemented Interfaces:
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter
- Enclosing interface:
- TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter
public static class TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Active
extends Object
implements TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter
An active frame writer that creates the most efficient frame.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.scaffold.TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Active, TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Expanding, TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.NoOp
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
The current length of the current local variable array.Fields inherited from interface net.bytebuddy.dynamic.scaffold.TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter
EMPTY
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
currentLocalVariableLength
private int currentLocalVariableLengthThe current length of the current local variable array.
-
-
Constructor Details
-
Active
public Active()
-
-
Method Details
-
onFrame
public void onFrame(int type, int localVariableLength) Informs this frame writer of an observed frame.- Specified by:
onFrame
in interfaceTypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter
- Parameters:
type
- The frame type.localVariableLength
- The length of the local variables array.
-
emitFrame
public void emitFrame(org.objectweb.asm.MethodVisitor methodVisitor) Emits an empty frame.- Specified by:
emitFrame
in interfaceTypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter
- Parameters:
methodVisitor
- The method visitor to write the frame to.
-