Debian Codegraph @

src/aQute/bnd/annotation/jpms/Open.java

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
•1 package aQute.bnd.annotation.jpms;
2
3 import static java.lang.annotation.ElementType.PACKAGE;
4 import static java.lang.annotation.RetentionPolicy.CLASS;
5
6 import java.lang.annotation.Documented;
7 import java.lang.annotation.Retention;
8 import java.lang.annotation.Target;
9
10 /**
11 * Annotation used on a package to declare it is open in terms of JPMS
12 * reflective access. This information is added to the
13 * {@code module-info.class}.
14 */
15 @Documented
16 @Retention(CLASS)
17 @Target(PACKAGE)
18 public @interface Open {
19
20 /*
21 * The set of modules to which the package is open. The default is an empty
22 * array which means the package is open to every module.
23 */
24 String[] value() default {};
25
26 }