@Retention(value=SOURCE)
@Target(value={TYPE,FIELD,METHOD,PARAMETER,CONSTRUCTOR,LOCAL_VARIABLE})
public @interface SuppressWarnings
Tell the compiler that a given warning should be suppressed when it
pertains to the marked program element and its sub-elements.
Note that warning suppression is additive. For instance if a
constructor has a warning suppressed, and a local variable in the
constructor has a different warning suppressed, then the resulting
set of suppressed warnings for that variable will be both warnings.
- Since:
- 1.5