Mon, 16 Sep 2013 14:13:44 +0200
8021112: Spurious unchecked warning reported by javac
6480588: No way to suppress deprecation warnings when implementing deprecated interface
Summary: Fixing DeferredLintHandler configuration, so lint warnings are reported with correct @SuppressWarnings settings
Reviewed-by: jjg, vromero
1 valid:
2 DOC_COMMENT:First sentence.
3 *
4 * <p>Description with {@link java.io.InputStream link}
5 *
6 * @param first description
7 * @param second description
8 * @return whatever
9 * @throws IllegalStateException why?
10 * @since 1.15
11 * @see java.util.List
12 TEXT:First sentence.
13 START_ELEMENT:<p>
14 TEXT:Description with!trailing-whitespace!
15 LINK:{@link java.io.InputStream link}
16 REFERENCE:java.io.InputStream
17 TEXT:link
18 PARAM:@param first description
19 IDENTIFIER:first
20 TEXT:description
21 PARAM:@param second description
22 IDENTIFIER:second
23 TEXT:description
24 RETURN:@return whatever
25 TEXT:whatever
26 THROWS:@throws IllegalStateException why?
27 REFERENCE:IllegalStateException
28 TEXT:why?
29 SINCE:@since 1.15
30 TEXT:1.15
31 SEE:@see java.util.List
32 REFERENCE:java.util.List
33 erroneous:
34 DOC_COMMENT:First sentence.
35 *
36 * <p>Description with {@link}, {@link java.util.List}, {@link
37 *
38 * @param
39 * @param second
40 * @return
41 * @throws
42 * @throws IllegalStateException
43 * @since
44 * @see
45 TEXT:First sentence.
46 START_ELEMENT:<p>
47 TEXT:Description with!trailing-whitespace!
48 LINK:{@link}
49 TEXT:,!trailing-whitespace!
50 LINK:{@link java.util.List}
51 REFERENCE:java.util.List
52 TEXT:,!trailing-whitespace!
53 ERRONEOUS:{@link
54 ERRONEOUS:@param
55 PARAM:@param second
56 IDENTIFIER:second
57 RETURN:@return
58 ERRONEOUS:@throws
59 THROWS:@throws IllegalStateException
60 REFERENCE:IllegalStateException
61 SINCE:@since
62 ERRONEOUS:@see
63 withWhiteSpaces:
64 DOC_COMMENT:First sentence.
65 *
66 * <p>Description with {@link }, {@link java.util.List#add( int )},
67 * {@link java.util.List#add( int ) some text with whitespaces}, {@link
68 *
69 * @param first
70 * @param second some text with trailing whitespace
71 * @return some return
72 * @throws java.lang.IllegalStateException
73 * @throws java.lang.IllegalStateException some text
74 TEXT:First sentence.
75 START_ELEMENT:<p>
76 TEXT:Description with!trailing-whitespace!
77 LINK:{@link }
78 TEXT:,!trailing-whitespace!
79 LINK:{@link java.util.List#add( int )}
80 REFERENCE:java.util.List#add( int )
81 TEXT:,
82 *!trailing-whitespace!
83 LINK:{@link java.util.List#add( int ) some text with whitespaces}
84 REFERENCE:java.util.List#add( int )
85 TEXT:some text with whitespaces
86 TEXT:,!trailing-whitespace!
87 ERRONEOUS:{@link
88 PARAM:@param first
89 IDENTIFIER:first
90 PARAM:@param second some text with trailing whitespace
91 IDENTIFIER:second
92 TEXT:some text with trailing whitespace
93 RETURN:@return some return
94 TEXT:some return
95 THROWS:@throws java.lang.IllegalStateException
96 REFERENCE:java.lang.IllegalStateException
97 THROWS:@throws java.lang.IllegalStateException some text
98 REFERENCE:java.lang.IllegalStateException
99 TEXT:some text