Annotation Interface Feature


@Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface Feature
Marks a class as representing an application feature.

Can be used as a legacy marker annotation (no value) on a class that represents a feature in the class hierarchy, or with a string value to name the feature directly:

 @Feature("Shopping Cart")
 public class WhenAddingItems { }
 
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      String value
      Default:
      ""