fixed some formatting typos
[vimdoclet.git] / sample / java.lang.SuppressWarnings.txt
blob1996cffc3ce8eb135e88a11aaece1cda6fbf9105
1 *java.lang.SuppressWarnings* *SuppressWarnings* Indicates that the named compile
3 public interface class SuppressWarnings
5   implements |java.lang.annotation.Annotation|
7 |java.lang.SuppressWarnings_Description|
8 |java.lang.SuppressWarnings_Fields|
9 |java.lang.SuppressWarnings_Constructors|
10 |java.lang.SuppressWarnings_Methods|
12 ================================================================================
14 *java.lang.SuppressWarnings_Description*
16 Indicates that the named compiler warnings should be suppressed in the 
17 annotated element (and in all program elements contained in the annotated 
18 element). Note that the set of warnings suppressed in a given element is a 
19 superset of the warnings suppressed in all containing elements. For example, if 
20 you annotate a class to suppress one warning and annotate a method to suppress 
21 another, both warnings will be suppressed in the method. 
23 As a matter of style, programmers should always use this annotation on the most 
24 deeply nested element where it is effective. If you want to suppress a warning 
25 in a particular method, you should annotate that method rather than its class.