| Spoon processor that analyses a program and executes the
@Validators it finds. By default, if any validator reports an error, all
further processing (like code generation) will be skiped.
The processor passes though all CtElements in the model. For each element,
it:
- processes all the annotations of the CtElement.
- processes all the meta-annotations (@Validators).
- for each @Validator, it creates an instance of its implementation,
and constructs the corresponding
spoon.aval.processing.ValidationPoint
- it invokes the check method on the @Validator's implementation.
See Also: spoon.aval.Validator See Also: spoon.aval.processing.ValidationPoint |