Enum Wrapper.Operation
- java.lang.Object
-
- java.lang.Enum<Wrapper.Operation>
-
- org.glassfish.pfl.dynamic.codegen.spi.Wrapper.Operation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Wrapper.Operation>
,Input
- Enclosing class:
- Wrapper
private static enum Wrapper.Operation extends java.lang.Enum<Wrapper.Operation> implements Input
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.glassfish.pfl.basic.fsm.Input
Input.Base
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Operation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Wrapper.Operation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Wrapper.Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PACKAGE
public static final Wrapper.Operation PACKAGE
-
IMPORT
public static final Wrapper.Operation IMPORT
-
CLASS
public static final Wrapper.Operation CLASS
-
DATA
public static final Wrapper.Operation DATA
-
INITIALIZER
public static final Wrapper.Operation INITIALIZER
-
METHOD
public static final Wrapper.Operation METHOD
-
ARG
public static final Wrapper.Operation ARG
-
BODY
public static final Wrapper.Operation BODY
-
IF
public static final Wrapper.Operation IF
-
ELSE
public static final Wrapper.Operation ELSE
-
TRY
public static final Wrapper.Operation TRY
-
CATCH
public static final Wrapper.Operation CATCH
-
FINALLY
public static final Wrapper.Operation FINALLY
-
SWITCH
public static final Wrapper.Operation SWITCH
-
CASE
public static final Wrapper.Operation CASE
-
DEFAULT
public static final Wrapper.Operation DEFAULT
-
WHILE
public static final Wrapper.Operation WHILE
-
SIMPLE
public static final Wrapper.Operation SIMPLE
-
END
public static final Wrapper.Operation END
-
-
Method Detail
-
values
public static Wrapper.Operation[] 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 (Wrapper.Operation c : Wrapper.Operation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Wrapper.Operation 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
-
-