Package grim.annotations
Annotation Interface KeepType
Annotation indicating that the type may appear in the generated javascript.
-
Optional Element Summary
Optional Elements
-
Element Details
-
unless
String unlessThe type may be kept unless this expression is true. Supplying a value for this parameter is incompatible with supplying a value to thewhen()parameter.- Returns:
- the conditional expression.
- Default:
- ""
-
when
String whenThe type may be kept if this expression is true. Supplying a value for this parameter is incompatible with supplying a value to theunless()parameter.- Returns:
- the conditional expression.
- Default:
- ""
-