@Inherited
@Documented
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface SupportedLintOptions
@SupportedLintOptions({"dotequals"})
, then the checker accepts the command-line option
-Alint=-dotequals
.
This annotation is optional and many checkers do not contain an @SupportedLintOptions
annotation.
The SourceChecker.getSupportedLintOptions()
method can construct its result from the
value of this annotation.
SupportedOptions
Modifier and Type | Required Element and Description |
---|---|
java.lang.String[] |
value |