Enum Class ObservableProperty
- All Implemented Interfaces:
Serializable,Comparable<ObservableProperty>,Constable
Properties considered by the AstObserver
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateprivateprivateObservableProperty(ObservableProperty.Type type, boolean derived) -
Method Summary
Modifier and TypeMethodDescriptionstatic ObservablePropertyfromCamelCaseName(String camelCaseName) getRawValue(Node node) Collection<?> getValueAsCollection(Node node) private booleanbooleanbooleanbooleanbooleanbooleanbooleanisNullOrEmpty(Node node) booleanisNullOrNotPresent(Node node) booleanisSingle()static ObservablePropertyReturns the enum constant of this class with the specified name.static ObservableProperty[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANNOTATIONS
-
ANONYMOUS_CLASS_BODY
-
ARGUMENTS
-
ASTERISK
-
BODY
-
CATCH_CLAUSES
-
CHECK
-
CLASS_BODY
-
CLASS_DECLARATION
-
COMMENT
-
COMPARE
-
COMPONENT_TYPE
-
CONDITION
-
CONTENT
-
DEFAULT_VALUE
-
DIMENSION
-
DIRECTIVES
-
ELEMENTS
-
ELEMENT_TYPE
-
ELSE_EXPR
-
ELSE_STMT
-
ENCLOSING_PARAMETERS
-
ENTRIES
-
EXPRESSION
-
EXTENDED_TYPE
-
EXTENDED_TYPES
-
FINALLY_BLOCK
-
IDENTIFIER
-
IMPLEMENTED_TYPES
-
IMPORTS
-
INDEX
-
INITIALIZATION
-
INITIALIZER
-
INNER
-
INTERFACE
-
ITERABLE
-
KEYWORD
-
LABEL
-
LABELS
-
LEFT
-
LEVELS
-
MEMBERS
-
MEMBER_VALUE
-
MESSAGE
-
MODIFIERS
-
MODULE
-
MODULE_NAMES
-
NAME
-
OPEN
-
OPERATOR
-
ORIGIN
-
PACKAGE_DECLARATION
-
PAIRS
-
PARAMETER
-
PARAMETERS
-
PATTERN
-
PERMITTED_TYPES
-
QUALIFIER
-
RECEIVER_PARAMETER
-
RECORD_DECLARATION
-
RESOURCES
-
RIGHT
-
SCOPE
-
SELECTOR
-
STATEMENT
-
STATEMENTS
-
STATIC
-
SUPER_TYPE
-
TARGET
-
THEN_EXPR
-
THEN_STMT
-
THIS
-
THROWN_EXCEPTIONS
-
TRY_BLOCK
-
TYPE
-
TYPES
-
TYPE_ARGUMENTS
-
TYPE_BOUND
-
TYPE_NAME
-
TYPE_PARAMETERS
-
UPDATE
-
VALUE
-
VALUES
-
VARIABLE
-
VARIABLES
-
VAR_ARGS
-
VAR_ARGS_ANNOTATIONS
-
WITH
-
CASCADING_IF_STMT
-
ELSE_BLOCK
-
ELSE_BRANCH
-
EXPRESSION_BODY
-
MAXIMUM_COMMON_TYPE
-
POSTFIX
-
PREFIX
-
THEN_BLOCK
-
USING_DIAMOND_OPERATOR
-
RANGE
-
COMMENTED_NODE
-
-
Field Details
-
type
-
derived
private boolean derived
-
-
Constructor Details
-
ObservableProperty
-
ObservableProperty
-
ObservableProperty
private ObservableProperty()
-
-
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
-
fromCamelCaseName
-
isDerived
public boolean isDerived() -
isAboutNodes
public boolean isAboutNodes() -
isAboutValues
public boolean isAboutValues() -
isMultiple
public boolean isMultiple() -
isSingle
public boolean isSingle() -
camelCaseName
-
getValueAsSingleReference
-
hasMethod
-
getValueAsMultipleReference
-
getValueAsCollection
-
getValueAsStringAttribute
-
getValueAsBooleanAttribute
-
getRawValue
-
isNull
-
isNullOrNotPresent
-
isNullOrEmpty
-