Package com.strobel.assembler.ir
Enum StackBehavior
- java.lang.Object
-
- java.lang.Enum<StackBehavior>
-
- com.strobel.assembler.ir.StackBehavior
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<StackBehavior>
public enum StackBehavior extends java.lang.Enum<StackBehavior>
-
-
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
StackBehavior()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StackBehavior
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StackBehavior[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Pop0
public static final StackBehavior Pop0
-
Pop1
public static final StackBehavior Pop1
-
Pop2
public static final StackBehavior Pop2
-
Pop1_Pop1
public static final StackBehavior Pop1_Pop1
-
Pop1_Pop2
public static final StackBehavior Pop1_Pop2
-
Pop1_PopA
public static final StackBehavior Pop1_PopA
-
Pop2_Pop1
public static final StackBehavior Pop2_Pop1
-
Pop2_Pop2
public static final StackBehavior Pop2_Pop2
-
PopI4
public static final StackBehavior PopI4
-
PopI8
public static final StackBehavior PopI8
-
PopR4
public static final StackBehavior PopR4
-
PopR8
public static final StackBehavior PopR8
-
PopA
public static final StackBehavior PopA
-
PopI4_PopI4
public static final StackBehavior PopI4_PopI4
-
PopI4_PopI8
public static final StackBehavior PopI4_PopI8
-
PopI8_PopI8
public static final StackBehavior PopI8_PopI8
-
PopR4_PopR4
public static final StackBehavior PopR4_PopR4
-
PopR8_PopR8
public static final StackBehavior PopR8_PopR8
-
PopI4_PopA
public static final StackBehavior PopI4_PopA
-
PopI4_PopI4_PopA
public static final StackBehavior PopI4_PopI4_PopA
-
PopI8_PopI4_PopA
public static final StackBehavior PopI8_PopI4_PopA
-
PopR4_PopI4_PopA
public static final StackBehavior PopR4_PopI4_PopA
-
PopR8_PopI4_PopA
public static final StackBehavior PopR8_PopI4_PopA
-
PopA_PopI4_PopA
public static final StackBehavior PopA_PopI4_PopA
-
PopA_PopA
public static final StackBehavior PopA_PopA
-
Push0
public static final StackBehavior Push0
-
Push1
public static final StackBehavior Push1
-
Push1_Push1
public static final StackBehavior Push1_Push1
-
Push1_Push1_Push1
public static final StackBehavior Push1_Push1_Push1
-
Push1_Push2_Push1
public static final StackBehavior Push1_Push2_Push1
-
Push2
public static final StackBehavior Push2
-
Push2_Push2
public static final StackBehavior Push2_Push2
-
Push2_Push1_Push2
public static final StackBehavior Push2_Push1_Push2
-
Push2_Push2_Push2
public static final StackBehavior Push2_Push2_Push2
-
PushI4
public static final StackBehavior PushI4
-
PushI8
public static final StackBehavior PushI8
-
PushR4
public static final StackBehavior PushR4
-
PushR8
public static final StackBehavior PushR8
-
PushA
public static final StackBehavior PushA
-
PushAddress
public static final StackBehavior PushAddress
-
VarPop
public static final StackBehavior VarPop
-
VarPush
public static final StackBehavior VarPush
-
-
Method Detail
-
values
public static StackBehavior[] 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 (StackBehavior c : StackBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StackBehavior 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
-
-