blob: 542b66c7d175882d7dfa6e0dae0b3e0e11e91918 (
plain)
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
|
/*
* Header
*/
import nothing;
//single comment 1
/**
* Javadoc 1
*/
public class ClassWithVars {
/**
* Api doc for this public var
*/
public int publicVar = 0;
/**
* Not Api doc for this public const, we exclude public final static var to avoid too much noise on pure Constants Classes
*/
public final static int PUBLIC_CONST = 0;
/**
* Api doc for private var should not be counted as apidoc, but non apidoc
*/
private int pirvateVar = 0;
public Something() {
super();
/**
* Inner constructor javadoc
* Should not be counted as API doc
*/
}
/**
* Javadoc 2
*/
public void sleep();
/*
* non javadoc
*/
public void run() {
/**
* Inner javadoc
*
* Should not be counted as API doc
*/
int i = 5;
}
/**
* Javadoc
*/
private void test() {
}
}
|