View Javadoc
1   package com.google.checkstyle.test.chapter7javadoc.rule713atclauses;
2   
3   import java.io.Serializable;
4   
5   /**
6    * Some javadoc.
7    *
8    * @author max
9    * @version 1.0
10   * @see Some javadoc.
11   * @since Some javadoc.
12   * @deprecated Some javadoc.
13   */
14  class InputCorrectAtClauseOrderCheck3 implements Serializable {
15    /**
16     * Some text.
17     *
18     * @param str Some text.
19     * @return Some text.
20     * @serialData Some javadoc.
21     * @deprecated Some text.
22     */
23    String method5(String str) {
24      return "null";
25    }
26  
27    /**
28     * Some text.
29     *
30     * @param str Some text.
31     * @param number Some text.
32     * @param bool Some text.
33     * @return Some text.
34     * @throws Exception Some text.
35     * @deprecated Some text.
36     */
37    String method6(String str, int number, boolean bool) throws Exception {
38      return "null";
39    }
40  
41    /**
42     * summary.
43     *
44     * @author max
45     * @version 1.0
46     * @since Some javadoc.
47     */
48    class InnerClassWithAnnotations3 {
49      /**
50       * Some text.
51       *
52       * @param str Some text.
53       * @return Some text.
54       * @serialData Some javadoc.
55       * @deprecated Some text.
56       */
57      String method5(String str) {
58        return "null";
59      }
60  
61      /**
62       * Some text.
63       *
64       * @param str Some text.
65       * @param number Some text.
66       * @param bool Some text.
67       * @return Some text.
68       * @throws Exception Some text.
69       * @deprecated Some text.
70       */
71      String method6(String str, int number, boolean bool) throws Exception {
72        return "null";
73      }
74    }
75  
76    InnerClassWithAnnotations3 anon =
77        new InnerClassWithAnnotations3() {
78          /**
79           * Some text.
80           *
81           * @param str Some text.
82           * @return Some text.
83           * @deprecated Some text.
84           */
85          String method5(String str) {
86            return "null";
87          }
88  
89          /**
90           * Some text.
91           *
92           * @param str Some text.
93           * @param number Some text.
94           * @param bool Some text.
95           * @return Some text.
96           * @throws Exception Some text.
97           * @deprecated Some text.
98           */
99          String method6(String str, int number, boolean bool) throws Exception {
100           return "null";
101         }
102       };
103 }