Enum ArgumentCaptureContext.ArgumentType
- java.lang.Object
-
- java.lang.Enum<ArgumentCaptureContext.ArgumentType>
-
- org.stianloader.micromixin.transform.internal.util.locals.ArgumentCaptureContext.ArgumentType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ArgumentCaptureContext.ArgumentType>
- Enclosing class:
- ArgumentCaptureContext
public static enum ArgumentCaptureContext.ArgumentType extends java.lang.Enum<ArgumentCaptureContext.ArgumentType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLABLENORMAL_ARGUMENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ArgumentCaptureContext.ArgumentTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ArgumentCaptureContext.ArgumentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANCELLABLE
public static final ArgumentCaptureContext.ArgumentType CANCELLABLE
-
NORMAL_ARGUMENT
public static final ArgumentCaptureContext.ArgumentType NORMAL_ARGUMENT
-
-
Method Detail
-
values
public static ArgumentCaptureContext.ArgumentType[] 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 (ArgumentCaptureContext.ArgumentType c : ArgumentCaptureContext.ArgumentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArgumentCaptureContext.ArgumentType 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
-
-