aQute.bnd.annotation.jpms
public @Interface MainClass
extends Annotation
- Annotations
- @Documented
- @Retention:CLASS
- @Target:TYPE
- @Header:${@class}
- name:Main-Class
- Static Imports
- aQute.bnd.annotation.jpms.Constants.CLASS_MACRO, .Constants.MAIN_CLASS, java.lang.annotation.ElementType.TYPE, .RetentionPolicy.CLASS
Annotation used on a type to indicate that it is the Main-Class of
the application resulting in the manifest header. This information is added
to the module-info.class.