View Javadoc
1   /*
2   AtclauseOrder
3   violateExecutionOnNonTightHtml = (default)false
4   target = (default)CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, \
5            CTOR_DEF, VARIABLE_DEF, RECORD_DEF, COMPACT_CTOR_DEF
6   tagOrder = (default)@author, @deprecated, @exception, @param, @return, \
7              @see, @serial, @serialData, @serialField, @since, @throws, @version
8   
9   
10  */
11  
12  package com.puppycrawl.tools.checkstyle.checks.javadoc.atclauseorder;
13  
14  import java.io.Serializable;
15  
16  /**
17   * Some javadoc.
18   *
19   * @author max
20   * @version 1.0
21   * @see Some javadoc.
22   * @since Some javadoc.
23   * @deprecated Some javadoc.
24   */
25  class InputAtclauseOrderCorrect1 implements Serializable
26  {
27      /**
28       * The client's first name.
29       * @serial
30       */
31      private String fFirstName;
32  
33      /**
34       * The client's first name.
35       * @serial
36       */
37      private String sSecondName;
38  
39      /**
40       * The client's first name.
41       * @serialField
42       */
43      private String tThirdName;
44  
45      /**
46       * Some text.
47       * @param aString Some text.
48       * @return Some text.
49       * @throws Exception Some text.
50       * @serialData Some javadoc.
51       * @deprecated Some text.
52       */
53      String method(String aString) throws Exception
54      {
55          return "null";
56      }
57  
58      /**
59       * Some text.
60       * @param aString Some text.
61       * @return Some text.
62       * @throws Exception Some text.
63       * @serialData Some javadoc.
64       */
65      String method1(String aString) throws Exception
66      {
67          return "null";
68      }
69  
70      /**
71       * Some text.
72       * @param aString Some text.
73       * @throws Exception Some text.
74       */
75      void method2(String aString) throws Exception {}
76  
77      /**
78       * Some text.
79       * @throws Exception Some text.
80       * @deprecated Some text.
81       */
82      void method3() throws Exception {}
83  
84      /**
85       * Some text.
86       * @return Some text.
87       * @throws Exception Some text.
88       */
89      String method4() throws Exception
90      {
91          return "null";
92      }
93  
94      /**
95       * Some text.
96       * @param aString Some text.
97       * @return Some text.
98       * @serialData Some javadoc.
99       * @deprecated Some text.
100      */
101     String method5(String aString)
102     {
103         return "null";
104     }
105 
106     /**
107      * Some text.
108      * @param aString Some text.
109      * @param aInt Some text.
110      * @param aBoolean Some text.
111      * @return Some text.
112      * @throws Exception Some text.
113      * @deprecated Some text.
114      */
115     String method6(String aString, int aInt, boolean aBoolean) throws Exception
116     {
117         return "null";
118     }
119 }