Class ProblemAnnotationValidator

java.lang.Object
org.eclipse.xtext.validation.AbstractInjectableValidator
org.eclipse.xtext.validation.AbstractDeclarativeValidator
tools.refinery.language.validation.AbstractProblemValidator
tools.refinery.language.validation.ProblemAnnotationValidator
All Implemented Interfaces:
org.eclipse.emf.ecore.EValidator, org.eclipse.xtext.validation.ValidationMessageAcceptor

public class ProblemAnnotationValidator extends AbstractProblemValidator
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.xtext.validation.AbstractDeclarativeValidator

    org.eclipse.xtext.validation.AbstractDeclarativeValidator.MethodWrapper, org.eclipse.xtext.validation.AbstractDeclarativeValidator.State, org.eclipse.xtext.validation.AbstractDeclarativeValidator.StateAccess

    Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EValidator

    org.eclipse.emf.ecore.EValidator.Descriptor, org.eclipse.emf.ecore.EValidator.PatternMatcher, org.eclipse.emf.ecore.EValidator.Registry, org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider, org.eclipse.emf.ecore.EValidator.ValidationDelegate
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from class org.eclipse.xtext.validation.AbstractInjectableValidator

    CURRENT_LANGUAGE_NAME, ISSUE_SEVERITIES

    Fields inherited from interface org.eclipse.emf.ecore.EValidator

    MARKER, RELATED_URIS_ATTRIBUTE, URI_ATTRIBUTE

    Fields inherited from interface org.eclipse.xtext.validation.ValidationMessageAcceptor

    INSIGNIFICANT_INDEX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
     
    void
     
    void
     
    void
    register(org.eclipse.xtext.validation.EValidatorRegistrar registrar)
     

    Methods inherited from class tools.refinery.language.validation.AbstractProblemValidator

    getEPackages

    Methods inherited from class org.eclipse.xtext.validation.AbstractDeclarativeValidator

    acceptError, acceptError, acceptInfo, acceptInfo, acceptWarning, acceptWarning, addIssue, addIssue, addIssue, addIssue, addIssue, addIssueToState, checkDone, checkIsFromCurrentlyCheckedResource, createDiagnostic, createDiagnostic, createMethodWrapper, error, error, error, error, error, error, error, error, getCancelIndicator, getChain, getCheckMode, getContext, getCurrentMethod, getCurrentObject, getIssueSeverities, getMessageAcceptor, guard, handleExceptionDuringValidation, info, info, info, info, info, info, info, info, internalValidate, isIgnored, newInstance, setInjector, setMessageAcceptor, toDiagnosticSeverity, warning, warning, warning, warning, warning, warning, warning, warning

    Methods inherited from class org.eclipse.xtext.validation.AbstractInjectableValidator

    getCurrentLanguage, isLanguageSpecific, isResponsible, validate, validate, validate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ProblemAnnotationValidator

      public ProblemAnnotationValidator()
  • Method Details

    • register

      public void register(org.eclipse.xtext.validation.EValidatorRegistrar registrar)
      Overrides:
      register in class org.eclipse.xtext.validation.AbstractInjectableValidator
    • checkAnnotation

      public void checkAnnotation(Annotation annotation)
    • checkDuplicateProblemAnnotations

      public void checkDuplicateProblemAnnotations(Problem problem)
    • checkDuplicateAnnotatedElementAnnotations

      public void checkDuplicateAnnotatedElementAnnotations(AnnotatedElement annotatedElement)
    • checkNodeDeclarationAnnotation

      public void checkNodeDeclarationAnnotation(NodeDeclaration nodeDeclaration)
    • checkAnnotationDeclaration

      public void checkAnnotationDeclaration(AnnotationDeclaration annotationDeclaration)