Class DeclarativeAnnotationValidator

java.lang.Object
tools.refinery.language.annotations.DeclarativeAnnotationValidator
All Implemented Interfaces:
AnnotationValidator
Direct Known Subclasses:
BuiltinAnnotations

public abstract class DeclarativeAnnotationValidator extends Object implements AnnotationValidator
  • Field Details

  • Constructor Details

    • DeclarativeAnnotationValidator

      protected DeclarativeAnnotationValidator()
  • Method Details

    • lookup

      protected MethodHandles.Lookup lookup()
    • validate

      public void validate(Annotation annotation, AnnotationContext context, org.eclipse.xtext.validation.ValidationMessageAcceptor acceptor)
      Specified by:
      validate in interface AnnotationValidator
    • getContext

      public AnnotationContext getContext()
    • getMessageAcceptor

      public org.eclipse.xtext.validation.ValidationMessageAcceptor getMessageAcceptor()
    • annotationsFor

      @NotNull protected @NotNull Annotations annotationsFor(org.eclipse.emf.ecore.EObject annotatedElement)
    • error

      protected void error(String message, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String code, String... issueData)
    • error

      protected void error(String message, Annotation annotation)
    • error

      protected void error(String message, org.eclipse.emf.ecore.EObject object, int offset, int length, String code, String... issueData)
    • warning

      protected void warning(String message, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String code, String... issueData)
    • warning

      protected void warning(String message, Annotation annotation)
    • warning

      protected void warning(String message, org.eclipse.emf.ecore.EObject object, int offset, int length, String code, String... issueData)
    • info

      protected void info(String message, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String code, String... issueData)
    • info

      protected void info(String message, Annotation annotation)
    • info

      protected void info(String message, org.eclipse.emf.ecore.EObject object, int offset, int length, String code, String... issueData)