Class DeclarativeAnnotationValidator
java.lang.Object
tools.refinery.language.annotations.DeclarativeAnnotationValidator
- All Implemented Interfaces:
AnnotationValidator
- Direct Known Subclasses:
BuiltinAnnotations
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull Annotations
annotationsFor
(org.eclipse.emf.ecore.EObject annotatedElement) protected void
error
(String message, org.eclipse.emf.ecore.EObject object, int offset, int length, String code, String... issueData) protected void
error
(String message, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String code, String... issueData) protected void
error
(String message, Annotation annotation) org.eclipse.xtext.validation.ValidationMessageAcceptor
protected void
info
(String message, org.eclipse.emf.ecore.EObject object, int offset, int length, String code, String... issueData) protected void
info
(String message, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String code, String... issueData) protected void
info
(String message, Annotation annotation) protected MethodHandles.Lookup
lookup()
void
validate
(Annotation annotation, AnnotationContext context, org.eclipse.xtext.validation.ValidationMessageAcceptor acceptor) protected void
warning
(String message, org.eclipse.emf.ecore.EObject object, int offset, int length, String code, String... issueData) protected void
warning
(String message, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String code, String... issueData) protected void
warning
(String message, Annotation annotation)
-
Field Details
-
INSIGNIFICANT_INDEX
public static final int INSIGNIFICANT_INDEX- See Also:
-
ANNOTATION_ISSUE
- See Also:
-
-
Constructor Details
-
DeclarativeAnnotationValidator
protected DeclarativeAnnotationValidator()
-
-
Method Details
-
lookup
-
validate
public void validate(Annotation annotation, AnnotationContext context, org.eclipse.xtext.validation.ValidationMessageAcceptor acceptor) - Specified by:
validate
in interfaceAnnotationValidator
-
getContext
-
getMessageAcceptor
public org.eclipse.xtext.validation.ValidationMessageAcceptor getMessageAcceptor() -
annotationsFor
@NotNull protected @NotNull Annotations annotationsFor(org.eclipse.emf.ecore.EObject annotatedElement) -
error
-
error
-
error
-
warning
-
warning
-
warning
-
info
-
info
-
info
-