Validator that states that the annotation can only be placed elements which
are inside elements that are annotated with another element.
For example if @B can only be placed on fields of classes that are annotated with
@A , the declaration of @B would be:
@Inside(A.class)
@Target(FIELD)
public @interface B{}
See Also: spoon.aval.support.validator.InsideValidator |