Debian Codegraph @

src/aQute/bnd/annotation/jpms/ExportTo.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 import org.osgi.annotation.bundle.Export;
11
12 /**
13 * Annotation used on a package, in conjunction with the {@link Export}
14 * annotation, to express the JPMS modules to which this package is exported.
15 * This information is added to the {@code module-info.class}.
16 * <p>
17 * The exclusion of this annotation means the package is exported to all
18 * modules.
19 */
20 @Documented
21 @Retention(CLASS)
22 @Target(PACKAGE)
23 public @interface ExportTo {
24
25 /*
26 * The set of modules to which the package is exported.
27 */
28 String[] value();
29
30 }