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