Enum JavaBlockOperator
- java.lang.Object
-
- java.lang.Enum<JavaBlockOperator>
-
- de.inetsoftware.jwebassembly.module.JavaBlockOperator
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<JavaBlockOperator>
public enum JavaBlockOperator extends java.lang.Enum<JavaBlockOperator>
Block operators in the Java byte code.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
JavaBlockOperator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JavaBlockOperator
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static JavaBlockOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IF
public static final JavaBlockOperator IF
-
GOTO
public static final JavaBlockOperator GOTO
-
SWITCH
public static final JavaBlockOperator SWITCH
-
LOOP
public static final JavaBlockOperator LOOP
-
TRY
public static final JavaBlockOperator TRY
-
RETURN
public static final JavaBlockOperator RETURN
-
-
Method Detail
-
values
public static JavaBlockOperator[] 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 (JavaBlockOperator c : JavaBlockOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JavaBlockOperator 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
-
-