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  public class InputAtclauseOrderCorrect4 implements Serializable {
17       /**
18       *
19       * @author max
20       * @version 1.0
21       * @since Some javadoc.
22       */
23      class InnerClassWithAnnotations4 {
24  
25           /**
26            * Some text.
27            *
28            * @param aString Some text.
29            * @return Some text.
30            * @serialData Some javadoc.
31            * @deprecated Some text.
32            */
33           String method5(String aString) {
34               return "null";
35           }
36  
37           /**
38            * Some text.
39            *
40            * @param aString  Some text.
41            * @param aInt     Some text.
42            * @param aBoolean Some text.
43            * @return Some text.
44            * @throws Exception Some text.
45            * @deprecated Some text.
46            */
47           String method6(String aString, int aInt, boolean aBoolean) throws Exception {
48               return "null";
49           }
50      }
51      InnerClassWithAnnotations4 anon = new InnerClassWithAnnotations4() {
52          /**
53           * Some text.
54           * @param aString Some text.
55           * @return Some text.
56           * @deprecated Some text.
57           */
58          String method5(String aString)
59          {
60              return "null";
61          }
62  
63          /**
64           * Some text.
65           * @param aString Some text.
66           * @param aInt Some text.
67           * @param aBoolean Some text.
68           * @return Some text.
69           * @throws Exception Some text.
70           * @deprecated Some text.
71           */
72          String method6(String aString, int aInt, boolean aBoolean) throws Exception
73          {
74              return "null";
75          }
76      };
77  }
78  
79  /**
80   * Some javadoc.
81   *
82   * @author max
83   * @version 1.0
84   * @see Some javadoc.
85   * @since Some javadoc.
86   * @deprecated Some javadoc.
87   */
88  enum Foo3 {}
89  
90  /**
91   * Some javadoc.
92   *
93   * @author max
94   * @version 1.0
95   * @see Some javadoc.
96   * @since Some javadoc.
97   * @deprecated Some javadoc.
98   */
99  interface FooIn3 {}
100