@Target(value={TYPE,FIELD,METHOD,PARAMETER,CONSTRUCTOR,LOCAL_VARIABLE})
@Retention(value=CLASS)
public @interface SuppressReact4jWarnings
As a matter of style, programmers should always use this annotation on the most deeply nested element where it is effective. If you want to suppress a warning in a particular method, you should annotate that method rather than its class.
This class may be used instead of SuppressWarnings
when the compiler
is passed compiled classes. The SuppressWarnings
has a source retention
policy and is thus not available when the files are already compiled.
Modifier and Type | Required Element and Description |
---|---|
java.lang.String[] |
value
The set of warnings that are to be suppressed by the compiler in the
annotated element.
|