Class DeclarativeAnnotationValidator
java.lang.Object
tools.refinery.language.annotations.DeclarativeAnnotationValidator
- All Implemented Interfaces:
AnnotationValidator
- Direct Known Subclasses:
BuiltinAnnotations
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull AnnotationsannotationsFor(org.eclipse.emf.ecore.EObject annotatedElement) protected voiderror(String message, org.eclipse.emf.ecore.EObject object, int offset, int length, String code, String... issueData) protected voiderror(String message, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String code, String... issueData) protected voiderror(String message, Annotation annotation) org.eclipse.xtext.validation.ValidationMessageAcceptorprotected voidinfo(String message, org.eclipse.emf.ecore.EObject object, int offset, int length, String code, String... issueData) protected voidinfo(String message, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String code, String... issueData) protected voidinfo(String message, Annotation annotation) protected MethodHandles.Lookuplookup()voidvalidate(Annotation annotation, org.eclipse.xtext.validation.ValidationMessageAcceptor acceptor) protected voidwarning(String message, org.eclipse.emf.ecore.EObject object, int offset, int length, String code, String... issueData) protected voidwarning(String message, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, int index, String code, String... issueData) protected voidwarning(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, org.eclipse.xtext.validation.ValidationMessageAcceptor acceptor) - Specified by:
validatein 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
-