Package net.bytebuddy.dynamic.scaffold
Enum TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Expanding
java.lang.Object
java.lang.Enum<TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Expanding>
net.bytebuddy.dynamic.scaffold.TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Expanding
- All Implemented Interfaces:
Serializable
,Comparable<TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Expanding>
,java.lang.constant.Constable
,TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter
- Enclosing interface:
TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter
public static enum TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Expanding
extends Enum<TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Expanding>
implements TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter
A frame writer that creates an expanded frame.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
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
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface net.bytebuddy.dynamic.scaffold.TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter
EMPTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
emitFrame
(org.objectweb.asm.MethodVisitor methodVisitor) Emits an empty frame.void
onFrame
(int type, int localVariableLength) Informs this frame writer of an observed frame.Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
public static final TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Expanding INSTANCEThe singleton instance.
-
-
Constructor Details
-
Expanding
private Expanding()
-
-
Method Details
-
values
public static TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Expanding[] values()Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.FrameWriter.Expanding valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
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.
-