Annotation Type Feature
-
@Target(TYPE) public @interface Feature
Marks a class as a Feature specification. The annotation processor addsFeature
as an implemented interface. In the context of an application, a feature is usually a (small) distinct characteristic which can be part of somevariants
but not all of them (for instance, only the professional version of an application provides a REST API).
Usage example:@Feature class Feature1 { }
public class Feature1 implements Feature { }
- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
- See Also:
Feature