grim.annotations.OmitClinit Maven / Gradle / Ivy
The newest version!
package grim.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
/**
* Annotation indicating that the class should not generate a clinit when compiled to javascript.
* The same rules could be generated by the slightly more verbose {@link OmitPattern} annotation but this
* annotation exists as it represents a common use case.
*/
@Documented
@Target( ElementType.TYPE )
public @interface OmitClinit
{
}