Enum Class CommonValues
- All Implemented Interfaces:
Serializable, Comparable<CommonValues>, Constable
Fixed set of constants that tend to be used to 'squirrel' away data - these are the keys.
Also includes common string values used for boolean flags and special markers.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe core EK9 language module — used to exempt built-in types from quality checks.static final StringPrefix for all built-in EK9 modules — used to exempt them from quality checks.static final StringCommon string value used for boolean false flags in squirrelled data.static final StringCommon string value used for CONSTRAIN super type marker.static final StringCommon string value used for boolean true flags in squirrelled data. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static CommonValuesReturns the enum constant of this class with the specified name.static CommonValues[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOOP
-
DO
-
WHILE
-
FOR_ITERATION_PATTERN
-
ITERATOR_METHOD
-
DIRECT_ITERATION
-
UNINITIALISED_AT_DECLARATION
-
OK_ACCESS_REQUIRES_SAFE_ACCESS
-
ERROR_ACCESS_REQUIRES_SAFE_ACCESS
-
GET_ACCESS_REQUIRES_SAFE_ACCESS
-
NEXT_ACCESS_REQUIRES_SAFE_ACCESS
-
SAFE_ACCESS_EMPLOYED
-
NO_REFERENCED_RESET
-
HAS_EXPLICIT_CONSTRUCTION
-
EXPLICIT_SUPER_CALL
-
EXPLICIT_THIS_CALL
-
SUBSTITUTED
-
ACCESSED
-
DEFAULTED
-
EXTERN
-
PRE_BUILT
-
COMPLEXITY
-
NESTING_DEPTH
-
STATEMENT_COUNT
-
EXPRESSION_COMPLEXITY
-
COHESION
-
COUPLING
-
MODULE_COUPLING
-
MODULE_COHESION
-
INHERITANCE_DEPTH
-
COGNITIVE_COMPLEXITY
-
INJECTION_COUNT
-
CONSTRAIN
-
GENERIC_PARENT
-
BASE_NAME
-
LANG
-
FIXED
-
APPLICATION
-
HTTP_URI
-
URI_PROTO
-
HTTP_REQUEST
-
HTTP_PATH
-
HTTP_HEADER
-
HTTP_QUERY
-
HTTP_VERB
-
HTTP_ACCESS
-
HTTP_SOURCE
-
TEST_DIRECTIVE
-
SANITIZED_REQUIRED
-
DELEGATE_CALL
-
DOC_COMMENT
-
BODY_FINGERPRINT
-
-
Field Details
-
TRUE_VALUE
Common string value used for boolean true flags in squirrelled data.- See Also:
-
FALSE_VALUE
Common string value used for boolean false flags in squirrelled data.- See Also:
-
SUPER_VALUE
Common string value used for CONSTRAIN super type marker.- See Also:
-
BUILTIN_MODULE_PREFIX
Prefix for all built-in EK9 modules — used to exempt them from quality checks.- See Also:
-
BUILTIN_LANG_MODULE
The core EK9 language module — used to exempt built-in types from quality checks.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getDescription
-
toString
- Overrides:
toStringin classEnum<CommonValues>
-