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 java.lang.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
Fields Modifier and Type Field Description private intcurrentLocalVariableLengthThe 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 Constructor Description Active()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidemitFrame(org.objectweb.asm.MethodVisitor methodVisitor)Emits an empty frame.voidonFrame(int type, int localVariableLength)Informs this frame writer of an observed frame.
-
-
-
Method Detail
-
onFrame
public void onFrame(int type, int localVariableLength)Informs this frame writer of an observed frame.- Specified by:
onFramein 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:
emitFramein interfaceTypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter- Parameters:
methodVisitor- The method visitor to write the frame to.
-
-