Enum UnaryOperatorType
- java.lang.Object
-
- java.lang.Enum<UnaryOperatorType>
-
- com.strobel.decompiler.languages.java.ast.UnaryOperatorType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UnaryOperatorType>
public enum UnaryOperatorType extends java.lang.Enum<UnaryOperatorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
BITWISE_NOT
DECREMENT
INCREMENT
MINUS
NOT
PLUS
POST_DECREMENT
POST_INCREMENT
-
Constructor Summary
Constructors Modifier Constructor Description private
UnaryOperatorType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnaryOperatorType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UnaryOperatorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final UnaryOperatorType ANY
-
NOT
public static final UnaryOperatorType NOT
-
BITWISE_NOT
public static final UnaryOperatorType BITWISE_NOT
-
MINUS
public static final UnaryOperatorType MINUS
-
PLUS
public static final UnaryOperatorType PLUS
-
INCREMENT
public static final UnaryOperatorType INCREMENT
-
DECREMENT
public static final UnaryOperatorType DECREMENT
-
POST_INCREMENT
public static final UnaryOperatorType POST_INCREMENT
-
POST_DECREMENT
public static final UnaryOperatorType POST_DECREMENT
-
-
Method Detail
-
values
public static UnaryOperatorType[] 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 (UnaryOperatorType c : UnaryOperatorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnaryOperatorType 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
-
-