test/tools/doclint/ReferenceTest.java

changeset 1455
75ab654b5cd5
child 1465
a22f23fb7abf
equal deleted inserted replaced
1454:02a18f209ab3 1455:75ab654b5cd5
1 /*
2 * @test /nodynamiccopyright/
3 * @build DocLintTester
4 * @run main DocLintTester -Xmsgs:-reference ReferenceTest.java
5 * @run main DocLintTester -ref ReferenceTest.out ReferenceTest.java
6 */
7
8 /** */
9 public class ReferenceTest {
10 /**
11 * @param x description
12 */
13 public int invalid_param;
14
15 /**
16 * @param x description
17 */
18 public class InvalidParam { }
19
20 /**
21 * @param x description
22 */
23 public void param_name_not_found(int a) { }
24
25 /**
26 * @param <X> description
27 */
28 public class typaram_name_not_found { }
29
30 /**
31 * @see Object#tooStrong()
32 */
33 public void ref_not_found() { }
34
35 /**
36 * @return x description
37 */
38 public int invalid_return;
39
40 /**
41 * @return x description
42 */
43 public void invalid_return();
44
45 /**
46 * @throws Exception description
47 */
48 public void exception_not_thrown() { }
49 }
50

mercurial