Package grim.annotations
Annotation Interface OmitSymbol
@Documented
@Repeatable(OmitSymbols.class)
@Target({FIELD,METHOD,CONSTRUCTOR})
public @interface OmitSymbol
Annotation indicating when a java element should be omitted from generated javascript.
-
Optional Element Summary
Optional Elements
-
Element Details
-
unless
String unlessThe symbol should be omitted 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 symbol should be omitted 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:
- ""
-