Annotation Interface Feature.DependsOn

Enclosing class:
Feature

@Documented @Target(TYPE_USE) @Retention(CLASS) public static @interface Feature.DependsOn

Mark an interface as dependency (as opposed to the feature implementing it). This currently has no effect, it's just there for clarification:

  @Feature
  class MyFeature implements @DependsOn AnotherFeature {
    // ...
  }

→ This feature does not implement AnotherFeature, but depends on it.