Annotation Type Feature


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface Feature
    The features annotation.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> clazz
      Get the implementation type.
      java.lang.Class<?> type
      Get the interface type.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean addlast
      Flag if default last feature dependency should be added.
      java.lang.Class<?>[] predecessors
      The predecessors.
      boolean replace
      Replace content of the existing classes.
      java.lang.Class<?>[] successors
      The successors.
    • Element Detail

      • type

        java.lang.Class<?> type
        Get the interface type.
      • clazz

        java.lang.Class<?> clazz
        Get the implementation type.
      • predecessors

        java.lang.Class<?>[] predecessors
        The predecessors.
        Default:
        {}
      • successors

        java.lang.Class<?>[] successors
        The successors.
        Default:
        {}
      • addlast

        boolean addlast
        Flag if default last feature dependency should be added.
        Default:
        true
      • replace

        boolean replace
        Replace content of the existing classes.
        Default:
        true