@Documented
@Repeatable(value=OmitTypes.class)
@Target(value=TYPE)
public @interface OmitType
Annotation indicating that the class should not be present in output javascript.
This is typically used when it is expected that all contained members are optimized away.
The type should be omitted if this expression is true.
Element Detail
unless
public abstract java.lang.String unless
The type 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
public abstract java.lang.String when
The type should be omitted if this expression is true.
Supplying a value for this parameter is incompatible with supplying a value to the unless() parameter.