Implementation of the
RefersTo validator
This class implements the
RefersTo validator.
It checks the complete metamodel to see if there are CtElements annotated with
the refered annotation and value. If this is not the case, an ERROR is reported.
An ERROR is also reported if the refered annotation does not contain
the refered attribute
To avoid unnecesary (and maybe costly) traversals of the model, a cache is kept with
the annotations and values found during the first traversal of the model.
|