1 package com.puppycrawl.tools.checkstyle.checks.javadoc.summaryjavadoc;
2
3
4
5
6
7 class InputSummaryJavadocIncorrect {
8
9
10
11
12 void foo3() {}
13
14
15
16
17 void foo4() throws Exception {}
18
19
20 void foo5() {}
21
22
23
24
25 void foo6() {}
26
27
28
29
30 public static final byte NUL = 0;
31
32
33
34
35 class InnerInputCorrectJavaDocParagraphCheck {
36
37
38
39
40 public static final byte NUL = 0;
41
42
43
44
45 public static final byte NUL_2 = 0;
46
47
48
49
50
51 boolean emulated() {return false;}
52
53
54
55
56 void foo2() {}
57
58
59
60
61
62 int geId() {return 666;}
63
64
65
66
67 void foo3() {}
68
69
70
71
72 void foo4() throws Exception {}
73
74
75 void foo5() {}
76
77
78
79
80 void foo6() {}
81 }
82
83
84
85
86 InnerInputCorrectJavaDocParagraphCheck anon = new InnerInputCorrectJavaDocParagraphCheck() {
87
88
89
90
91 public static final byte NUL = 0;
92
93
94
95
96 void emulated(String s) {}
97
98
99
100
101 void foo3() {}
102
103
104
105
106 void foo4() throws Exception {}
107
108
109 void foo5() {}
110
111
112
113
114 void foo6() {}
115
116
117
118
119 void foo7() {}
120
121
122
123
124 void foo8() {}
125
126
127
128
129 void foo10() {}
130 };
131
132
133
134
135 void foo7() {}
136
137
138 <T> T foo8(T t) {return null;}
139
140
141 String[] foo9() {return null;}
142 }