Package io.quarkus.gizmo
Enum ResultHandle.ResultType
- java.lang.Object
-
- java.lang.Enum<ResultHandle.ResultType>
-
- io.quarkus.gizmo.ResultHandle.ResultType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ResultHandle.ResultType>
- Enclosing class:
- ResultHandle
static enum ResultHandle.ResultType extends java.lang.Enum<ResultHandle.ResultType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSTANTA constant loaded via LDC, ACONST_NULL, ICONST_* etc.LOCAL_VARIABLEA local variableSINGLE_USEA result handle that is only used a single time, directly after it is createdUNUSEDA result handle that was never used
-
Constructor Summary
Constructors Modifier Constructor Description privateResultType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResultHandle.ResultTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ResultHandle.ResultType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCAL_VARIABLE
public static final ResultHandle.ResultType LOCAL_VARIABLE
A local variable
-
CONSTANT
public static final ResultHandle.ResultType CONSTANT
A constant loaded via LDC, ACONST_NULL, ICONST_* etc.
-
SINGLE_USE
public static final ResultHandle.ResultType SINGLE_USE
A result handle that is only used a single time, directly after it is created
-
UNUSED
public static final ResultHandle.ResultType UNUSED
A result handle that was never used
-
-
Method Detail
-
values
public static ResultHandle.ResultType[] 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 (ResultHandle.ResultType c : ResultHandle.ResultType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResultHandle.ResultType 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
-
-