Enum CsmConditional.Condition
- java.lang.Object
-
- java.lang.Enum<CsmConditional.Condition>
-
- com.github.javaparser.printer.concretesyntaxmodel.CsmConditional.Condition
-
- All Implemented Interfaces:
Serializable
,Comparable<CsmConditional.Condition>
- Enclosing class:
- CsmConditional
public static enum CsmConditional.Condition extends Enum<CsmConditional.Condition>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLAG
IS_EMPTY
IS_NOT_EMPTY
IS_PRESENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CsmConditional.Condition
valueOf(String name)
Returns the enum constant of this type with the specified name.static CsmConditional.Condition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IS_EMPTY
public static final CsmConditional.Condition IS_EMPTY
-
IS_NOT_EMPTY
public static final CsmConditional.Condition IS_NOT_EMPTY
-
IS_PRESENT
public static final CsmConditional.Condition IS_PRESENT
-
FLAG
public static final CsmConditional.Condition FLAG
-
-
Method Detail
-
values
public static CsmConditional.Condition[] 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 (CsmConditional.Condition c : CsmConditional.Condition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CsmConditional.Condition valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-