Annotation Interface SubPackages


@Target(PACKAGE) @Retention(CLASS) @Documented public @interface SubPackages
Annotation applied to some "main" package, which must be compiled by javac together in the same javac run with some "subpackages".
Since:
1.1
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The names of the packages which must be compiled (and thus analyzed) in the same javac run.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    A short comment why this cyclic dependency has been accepted.
  • Element Details

    • value

      String[] value
      The names of the packages which must be compiled (and thus analyzed) in the same javac run.
      Returns:
      the names of all other packages.
    • reason

      String reason
      A short comment why this cyclic dependency has been accepted.
      Since:
      1.3
      Default:
      ""