| •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 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
@Documented |
| 20 |
@Retention(CLASS) |
| 21 |
@Target(TYPE) |
| 22 |
@Header(name = MAIN_CLASS, value = CLASS_MACRO) |
| 23 |
public @interface MainClass {} |