T
- the type which this processor validates.@Beta
public interface ValidationParticipant<T extends NamedElement>
TypeReference
s are resolved at that time, so it is safe to inspect them.
The AST is read-only in this phase.Modifier and Type | Method and Description |
---|---|
void |
doValidate(java.util.List<? extends T> annotatedTargetElements,
ValidationContext context)
Invoked by the validator
|
void doValidate(java.util.List<? extends T> annotatedTargetElements, @Extension ValidationContext context)
annotatedTargetElements
- the java representation of the annotated elementscontext
- a ValidationContext
providing useful services.