Annotation Interface OmitPattern


@Documented @Repeatable(OmitPatterns.class) @Target(PACKAGE) public @interface OmitPattern
Annotation indicating symbols matching pattern should be omitted from generated javascript.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    A 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 type
      A 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 symbol
      A regular expression used to match symbols to omit.
      Returns:
      a regular expression used to match symbols to omit.
      Default:
      "<default>"
    • unless

      String unless
      The symbol should be omitted unless this expression is true. Supplying a value for this parameter is incompatible with supplying a value to the when() parameter.
      Returns:
      the conditional expression.
      Default:
      ""
    • when

      String when
      The symbol should be omitted if this expression is true. Supplying a value for this parameter is incompatible with supplying a value to the unless() parameter.
      Returns:
      the conditional expression.
      Default:
      ""