Package net.bytebuddy.asm
Enum Advice.StackMapFrameHandler.Default.Initialization
- java.lang.Object
-
- java.lang.Enum<Advice.StackMapFrameHandler.Default.Initialization>
-
- net.bytebuddy.asm.Advice.StackMapFrameHandler.Default.Initialization
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Advice.StackMapFrameHandler.Default.Initialization>
- Enclosing class:
- Advice.StackMapFrameHandler.Default
protected static enum Advice.StackMapFrameHandler.Default.Initialization extends java.lang.Enum<Advice.StackMapFrameHandler.Default.Initialization>
Represents the initialization state of a stack value that can either be initialized or uninitialized.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INITIALIZED
Represents an initialized frame value.UNITIALIZED
Represents an uninitialized frame value within a constructor before invoking the super constructor.
-
Constructor Summary
Constructors Modifier Constructor Description private
Initialization()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.lang.Object
toFrame(TypeDescription typeDescription)
Initializes a frame value to its frame type.static Advice.StackMapFrameHandler.Default.Initialization
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Advice.StackMapFrameHandler.Default.Initialization[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNITIALIZED
public static final Advice.StackMapFrameHandler.Default.Initialization UNITIALIZED
Represents an uninitialized frame value within a constructor before invoking the super constructor.
-
INITIALIZED
public static final Advice.StackMapFrameHandler.Default.Initialization INITIALIZED
Represents an initialized frame value.
-
-
Method Detail
-
values
public static Advice.StackMapFrameHandler.Default.Initialization[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Advice.StackMapFrameHandler.Default.Initialization c : Advice.StackMapFrameHandler.Default.Initialization.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Advice.StackMapFrameHandler.Default.Initialization valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toFrame
protected abstract java.lang.Object toFrame(TypeDescription typeDescription)
Initializes a frame value to its frame type.- Parameters:
typeDescription
- The type being resolved.- Returns:
- The frame value.
-
-