Debian Codegraph @

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

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
•1 package aQute.bnd.annotation.jpms;
2
3 import static aQute.bnd.annotation.jpms.Constants.CLASS_MACRO;
4 import static aQute.bnd.annotation.jpms.Constants.MAIN_CLASS;
5 import static java.lang.annotation.ElementType.TYPE;
6 import static java.lang.annotation.RetentionPolicy.CLASS;
7
8 import java.lang.annotation.Documented;
9 import java.lang.annotation.Retention;
10 import java.lang.annotation.Target;
11
12 import org.osgi.annotation.bundle.Header;
13
14 /**
15 * Annotation used on a type to indicate that it is the {@code Main-Class} of
16 * the application resulting in the manifest header. This information is added
17 * to the {@code module-info.class}.
18 */
19 @Documented
20 @Retention(CLASS)
21 @Target(TYPE)
22 @Header(name = MAIN_CLASS, value = CLASS_MACRO)
23 public @interface MainClass {}