Package com.strobel.assembler.ir
Enum FrameType
- java.lang.Object
-
- java.lang.Enum<FrameType>
-
- com.strobel.assembler.ir.FrameType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Append
Represents a compressed frame where locals are the same as the locals in the previous frame, except that additional 1-3 locals are defined, and with an empty stack.Chop
Represents a compressed frame where locals are the same as the locals in the previous frame, except that the last 1-3 locals are absent and with an empty stack.Full
Represents a compressed frame with complete frame data.New
Represents an expanded frame.Same
Represents a compressed frame with exactly the same locals as the previous frame and with an empty stack.Same1
Represents a compressed frame with exactly the same locals as the previous frame and with a single value on the stack.
-
Constructor Summary
Constructors Modifier Constructor Description private
FrameType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FrameType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FrameType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Append
public static final FrameType Append
Represents a compressed frame where locals are the same as the locals in the previous frame, except that additional 1-3 locals are defined, and with an empty stack.
-
Chop
public static final FrameType Chop
Represents a compressed frame where locals are the same as the locals in the previous frame, except that the last 1-3 locals are absent and with an empty stack.
-
Full
public static final FrameType Full
Represents a compressed frame with complete frame data.
-
New
public static final FrameType New
Represents an expanded frame.
-
Same
public static final FrameType Same
Represents a compressed frame with exactly the same locals as the previous frame and with an empty stack.
-
Same1
public static final FrameType Same1
Represents a compressed frame with exactly the same locals as the previous frame and with a single value on the stack.
-
-
Method Detail
-
values
public static FrameType[] 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 (FrameType c : FrameType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FrameType 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
-
-