Module org.eclipse.xtend.lib.macro
Package org.eclipse.xtend.lib.macro
Interface ValidationParticipant<T extends NamedElement>
- Type Parameters:
T- the type which this processor validates.
- All Known Implementing Classes:
AbstractAnnotationTypeProcessor,AbstractClassProcessor,AbstractConstructorProcessor,AbstractEnumerationTypeProcessor,AbstractFieldProcessor,AbstractInterfaceProcessor,AbstractMethodProcessor
A callback interface for the validation phase. This callback is invoked after all transformations are done.
Inferred
TypeReferences are resolved at that time, so it is safe to inspect them.
The AST is read-only in this phase.-
Method Summary
Modifier and TypeMethodDescriptionvoiddoValidate(List<? extends T> annotatedTargetElements, ValidationContext context) Invoked by the validator
-
Method Details
-
doValidate
Invoked by the validator- Parameters:
annotatedTargetElements- the java representation of the annotated elementscontext- aValidationContextproviding useful services.
-