View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocparagraph;
2   
3   
4   
5   /**
6    * Some Javadoc.
7    * <p>
8    * /^ WARN/   Some Javadoc.<p> //WARN
9    *
10   */
11  class InputJavadocParagraphIncorrect {
12  
13      /**
14       * Some Javadoc.<P>  //WARN
15       *
16       * <p>  Some Javadoc. //WARN
17       *
18       * @since 8.0
19       */
20      public static final byte NUL = 0;
21         
22      /**
23       * Some <p>Javadoc.//WARN
24       *
25       * <p>    Some Javadoc.//WARN
26       *
27       * @see <a href="http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideModules">
28       *     Documentation about GWT emulated source</a>
29       */
30      boolean emulated() {return false;}
31      
32      /**<p>Some Javadoc.<p>  //WARN
33       * <p>  //WARN
34       * <p><p>  //WARN
35       * <p>/^WARN/   Some Javadoc.<p>*/  //WARN
36       class InnerInputJavadocParagraphIncorrect {
37  
38          /**
39           * Some Javadoc./WARN/<p>  //WARN
40           *
41           * @since 8.0
42           */
43          public static final byte NUL = 0;
44             
45          /**<p>  //WARN
46           * /^WARN/ Some Javadoc.
47           *
48           * <P> //WARN
49           * /^WARN/
50           * <p> //WARN
51           *  /^WARN/ Some Javadoc.<p> //WARN
52           * @see <a href="http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideModules">
53           *     Documentation about GWT emulated source</a>
54           */
55          boolean emulated() {return false;}
56      }
57  
58      InnerInputJavadocParagraphIncorrect anon = new InnerInputJavadocParagraphIncorrect() {
59  
60      	/**
61           * <p>Some Javadoc. //WARN
62           *
63           * Some Javadoc.
64           *
65           * @since 8.0
66           */
67          public static final byte NUL = 0;
68  
69          /**
70           * /WARN/  Some Javadoc.<p> //WARN
71           *
72           *  <p>  Some Javadoc. //WARN
73           *
74           * @see <a href="http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideModules">
75           *     Documentation about <p> GWT emulated source</a> //WARN
76           */
77          boolean emulated() {return false;}
78  
79          /**
80           * Double newline.
81           *
82           *
83           * Some Javadoc. //DOUBLE WARN AT TWO PREVIOUS LINES
84           */
85           void doubleNewline() {}
86      };
87  }