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
@Beta public interface ValidationParticipant<T extends NamedElement>A callback interface for the validation phase. This callback is invoked after all transformations are done. InferredTypeReferences are resolved at that time, so it is safe to inspect them. The AST is read-only in this phase.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddoValidate(java.util.List<? extends T> annotatedTargetElements, ValidationContext context)Invoked by the validator
-
-
-
Method Detail
-
doValidate
void doValidate(java.util.List<? extends T> annotatedTargetElements, @Extension ValidationContext context)
Invoked by the validator- Parameters:
annotatedTargetElements- the java representation of the annotated elementscontext- aValidationContextproviding useful services.
-
-