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