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 InputCorrectAtClauseOrderCheck1 implements Serializable {
15  
16    /**
17     * The client's first name.
18     *
19     * @serial
20     */
21    private String firstName;
22  
23    /**
24     * The client's first name.
25     *
26     * @serial
27     */
28    private String secondName;
29  
30    /**
31     * The client's first name.
32     *
33     * @serialField
34     */
35    private String thirdName;
36  
37    /**
38     * Some text.
39     *
40     * @param str Some text.
41     * @return Some text.
42     * @throws Exception Some text.
43     * @serialData Some javadoc.
44     * @deprecated Some text.
45     */
46    String method(String str) throws Exception {
47      return "null";
48    }
49  
50    /**
51     * Some text.
52     *
53     * @param str Some text.
54     * @return Some text.
55     * @throws Exception Some text.
56     * @serialData Some javadoc.
57     */
58    String method1(String str) throws Exception {
59      return "null";
60    }
61  
62    /**
63     * summary.
64     *
65     * @author max
66     * @version 1.0
67     * @since Some javadoc.
68     */
69    class InnerClassWithAnnotations1 {
70      /**
71       * Some text.
72       *
73       * @param str Some text.
74       * @return Some text.
75       * @throws Exception Some text.
76       * @deprecated Some text.
77       */
78      String method(String str) throws Exception {
79        return "null";
80      }
81  
82      /**
83       * Some text.
84       *
85       * @param str Some text.
86       * @return Some text.
87       * @throws Exception Some text.
88       * @serialData Some javadoc.
89       */
90      String method1(String str) throws Exception {
91        return "null";
92      }
93    }
94  
95    InnerClassWithAnnotations1 anon =
96        new InnerClassWithAnnotations1() {
97          /**
98           * Some text.
99           *
100          * @param str Some text.
101          * @return Some text.
102          * @throws Exception Some text.
103          * @deprecated Some text.
104          */
105         String method(String str) throws Exception {
106           return "null";
107         }
108 
109         /**
110          * Some text.
111          *
112          * @param str Some text.
113          * @return Some text.
114          * @throws Exception Some text.
115          */
116         String method1(String str) throws Exception {
117           return "null";
118         }
119       };
120 }