Annotation Interface KeepSymbol


Annotation indicating when a java element should be omitted from generated javascript.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The symbol may be kept unless this expression is true.
    The symbol may be kept if this expression is true.
  • Element Details

    • unless

      String unless
      The symbol may be kept 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 may be kept 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:
      ""