1   package com.puppycrawl.tools.checkstyle.checks.javadoc.summaryjavadoc;
2   
3   /**
4    * A {@code Foo. Foo}
5    * is a simple Javadoc. Some javadoc.
6    */
7   class InputSummaryJavadocIncorrect {
8       
9       /**
10       * As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)}
11       */
12      void foo3() {}
13      
14      /**
15       * @throws Exception if an error occurs
16       */
17      void foo4() throws Exception {}
18      
19      /** An especially short bit of Javadoc. */
20      void foo5() {}
21  
22      /**
23       * An especially short bit of Javadoc.
24       */
25      void foo6() {}
26  
27      /**
28       * Some Javadoc.
29       */
30      public static final byte NUL = 0;
31  
32      /** 
33       * <a href="mailto:vlad@htmlbook.ru"/> 
34       */
35       class InnerInputCorrectJavaDocParagraphCheck {
36  
37           /**
38            * foooo@foooo
39            */
40          public static final byte NUL = 0;
41  
42          /** 
43           * Some java@doc.
44           */
45          public static final byte NUL_2 = 0;
46  
47          /**
48           * This method
49           * returns some javadoc. Some javadoc.
50           */
51          boolean emulated() {return false;}
52          
53          /**
54           * <a href="mailto:vlad@htmlbook.ru"/>
55           */
56          void foo2() {}
57  
58          /**
59           * @return the
60           * customer ID some javadoc.
61           */
62          int geId() {return 666;} 
63  
64          /**
65           * As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)}.
66           */
67          void foo3() {}
68          
69          /**
70           * @throws Exception if an error occurs
71           */
72          void foo4() throws Exception {}
73          
74          /** An especially short bit of Javadoc. */
75          void foo5() {}
76  
77          /**
78           * An especially short bit of Javadoc.
79           */
80          void foo6() {}
81      }
82  
83       /**
84        * A {@code InnerInputCorrectJavaDocParagraphCheck} is a simple code.
85        */
86      InnerInputCorrectJavaDocParagraphCheck anon = new InnerInputCorrectJavaDocParagraphCheck() {
87  
88          /**
89           * Some Javadoc.
90           */
91          public static final byte NUL = 0;
92  
93          /**
94           * Some Javadoc.
95           */
96          void emulated(String s) {}
97          
98          /**
99           * As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)}.
100          */
101         void foo3() {}
102         
103         /**
104          * @throws Exception if an error occurs
105          */
106         void foo4() throws Exception {}
107         
108         /** An especially short bit of Javadoc. */
109         void foo5() {}
110 
111         /**
112          * An especially short bit of Javadoc.
113          */
114         void foo6() {}
115 
116          /**
117           * mm{@inheritDoc}
118           */
119          void foo7() {}
120 
121          /**
122           * {@link #setBounds(int,int,int,int)}
123           */
124          void foo8() {}
125 
126          /**
127           *
128           */
129          void foo10() {}
130     };
131 
132     /**
133      * M m m m {@inheritDoc}
134      */
135     void foo7() {}
136 
137     /** */
138     <T> T foo8(T t) {return null;}
139 
140     /** */
141     String[] foo9() {return null;}
142 }