| Validator that states on which elements can an annotation be places
These elements (classes, interfaces) are defined through
spoon.reflect.declaration classes.
For example, to say that an annotation can only be placed on interfaces, this
would be the used:
@AValTarget(CtInterface.class)
public @interface Example {
}
See Also: spoon.aval.support.validator.AValTargetValidator |