View Javadoc
1   /*
2   com.puppycrawl.tools.checkstyle.checks.javadoc.AtclauseOrderCheck
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   com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocParagraphCheck
10  violateExecutionOnNonTightHtml = (default)false
11  allowNewlineParagraph = (default)true
12  
13  */
14  
15  package com.puppycrawl.tools.checkstyle.checks.javadoc.abstractjavadoc;
16  
17  /**
18   * Some Javadoc.
19   *
20   * <p>Some Javadoc.
21   *
22   */
23  class InputAbstractJavadocCorrectParagraphOne {
24  
25      /**
26       * Some Javadoc.
27       *
28       * <p>{@code function} will never be invoked with a null value.
29       *
30       * @since 8.0
31       */
32      public static final byte NUL = 0;
33  
34      /**
35       * Some Javadoc.
36       *
37       * <p>Some Javadoc.
38       *
39       * <pre>
40       * class Foo {
41       *
42       *   void foo() {}
43       * }
44       * </pre>
45       *
46       * @see <a href="http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideModules">
47       *     Documentation about GWT emulated source</a>
48       */
49      boolean emulated() {return false;}
50  
51      /**
52       * Some Javadoc.
53       *
54       *<pre>
55       * Test
56       * </pre>
57       *
58       * <pre>
59       * Test
60       * </pre>
61       */
62      boolean test() {return false;}
63  
64      /**
65       * Some Javadoc.
66       *
67       * <p>Some Javadoc.
68       *
69       */
70       class InnerInputCorrectJavaDocParagraphCheck {
71  
72          /**
73           * Some Javadoc.
74           *
75           * <p>Some Javadoc.
76           *
77           * <p>Some Javadoc.
78           *
79           * @since 8.0
80           */
81          public static final byte NUL = 0;
82  
83          /**
84           * Some Javadoc.
85           *
86           * <p>Some Javadoc.
87           *
88           * @see <a href="http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideModules">
89           *     Documentation about GWT emulated source</a>
90           */
91          boolean emulated() {return false;}
92      }
93  
94      InnerInputCorrectJavaDocParagraphCheck anon = new InnerInputCorrectJavaDocParagraphCheck() {
95  
96          /**
97           * Some Javadoc.
98           *
99           * <p>Some Javadoc.
100          *
101          * <p>Some Javadoc.
102          *
103          * @since 8.0
104          */
105         public static final byte NUL = 0;
106 
107         /**
108          * Some Javadoc with space at the end of first line.
109          *
110          * <p>Some Javadoc.
111          *
112          * <p>Some Javadoc.
113          *
114          * @see <a href="http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideModules">
115          *     Documentation about GWT emulated source</a>
116          */
117         boolean emulated() {return false;}
118     };
119 }