.. java:import:: java.lang.annotation ElementType .. java:import:: java.lang.annotation Retention .. java:import:: java.lang.annotation RetentionPolicy .. java:import:: java.lang.annotation Target RegisterOnStartup ================= .. java:package:: org.moe.natj.general.ann :noindex: .. java:type:: @Target @Retention public @interface RegisterOnStartup Mark a type with this annotation if you want that type to get initialized before the main method get invoked.