Annotation Interface Shadow


@Experimental @Target(TYPE) @Retention(RUNTIME) @Repeatable(ShadowCollection.class) public @interface Shadow
Indicates that the annotated Addon requires a dependency or repository.
Since:
3.3.4-SNAPSHOT
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Specifies the dependency or repository.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specifies the type of the shadow dependency.
  • Element Details

    • value

      String value
      Specifies the dependency or repository.
      Returns:
      the dependency or repository
    • type

      Specifies the type of the shadow dependency. Defaults to ShadowType.DEPENDENCY if not explicitly defined.
      Returns:
      the type of the shadow dependency
      Default:
      DEPENDENCY