Package grim.annotations
Annotation Interface OmitPattern
Annotation indicating symbols matching pattern should be omitted from generated javascript.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionA regular expression used to match symbols to omit.A regular expression used to match types to omit.The symbol should be omitted unless this expression is true.The symbol should be omitted if this expression is true.
-
Element Details
-
type
String typeA regular expression used to match types to omit. If not specified then it will default to the package annotated by the annotation and all sub-packages.- Returns:
- a regular expression used to match types to omit.
- Default:
- "<default>"
-
symbol
String symbolA regular expression used to match symbols to omit.- Returns:
- a regular expression used to match symbols to omit.
- Default:
- "<default>"
-
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:
- ""
-