org.kohsuke.accmod
Annotation Type Restricted


@Retention(value=CLASS)
@Documented
@Indexed
public @interface Restricted

Indicates that a particular element is really deprecated and that the access to it is subject to the additional restrictions.

These annotations and restrictions introduced by them are enforced by the "access-modifier-checker" mojo.

Author:
Kohsuke Kawaguchi

Required Element Summary
 java.lang.Class<? extends AccessRestriction>[] value
          Kind of access that are restricted.
 

Element Detail

value

public abstract java.lang.Class<? extends AccessRestriction>[] value
Kind of access that are restricted. If multiple values are specified, those restrictions are OR-ed — thus if an use violates any of the restrictions, it'll be considered as an error.



Copyright © 2011. All Rights Reserved.