| Validator that states that the annotation can only be placed elements which
have the required modifiers. No check is made to see if the modifier set required is valid (i.e., no error is raised
if public and private are required)
For example if @A can only be placed on fields which are public the
@A annotation type would be defined as:
@Modifier({ModifierKind.PUBLIC})
@Target(FIELD)
public @interface A{}
See Also: spoon.aval.support.validator.ModifierValidator |