@Documented
@Target(value={METHOD,PACKAGE,TYPE})
@Retention(value=RUNTIME)
public @interface FeatureRestriction
An annotation for indicating license-restricted methods, packages and types. For example, one might set an AspectJ
pointcut that is intercepted and asserts that annotated accesses are done with permission. If not, it might throw an
exception, which would be caught by the user interface (such as a servlet filter in a Java EE environment) and
handled accordingly.
- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- Nick Williams