Class SimplePropertyDescriptor

    • Method Detail

      • getValueType

        public Class getValueType()
        Returns the value type of this property.

        For example, for a node type like SingleVariableDeclaration, the "modifiers" property returns int.class.

        Returns:
        the value type of the property
      • isMandatory

        public boolean isMandatory()
        Returns whether this property is mandatory. A property value is not allowed to be null if it is mandatory.
        Returns:
        true if the property is mandatory, and false if it is may be null