Class FeatureNameValidator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isDisallowedName​(org.eclipse.xtext.naming.QualifiedName name)
      Returns true if it is illegal to define the given name.
      boolean isDiscouragedName​(org.eclipse.xtext.naming.QualifiedName name)
      Returns true if it is discouraged to define the given name.
      boolean isShadowingAllowed​(org.eclipse.xtext.naming.QualifiedName name)
      Returns true if it is legal to shadow a local with the given name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FeatureNameValidator

        public FeatureNameValidator()
    • Method Detail

      • isShadowingAllowed

        public boolean isShadowingAllowed​(org.eclipse.xtext.naming.QualifiedName name)
        Returns true if it is legal to shadow a local with the given name.
        Parameters:
        name - the name that is-to-be-defined.
        Returns:
        true if shadowing is legal.
      • isDisallowedName

        public boolean isDisallowedName​(org.eclipse.xtext.naming.QualifiedName name)
        Returns true if it is illegal to define the given name.
        Parameters:
        name - the name that is to-be-defined.
        Returns:
        true if the name may not be used.
      • isDiscouragedName

        public boolean isDiscouragedName​(org.eclipse.xtext.naming.QualifiedName name)
        Returns true if it is discouraged to define the given name.
        Parameters:
        name - the name that is to-be-defined.
        Returns:
        true if the name may not be used.