Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: 3fc2df5ab731f74223a18966d926966dd8de670c (plain) (blame)
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
package p1.p2;

import java.util.Enumeration;

/**
 * Class X javadoc 
 */
public class X {
	/**
	 * Javadoc for initializer
	 */
	static {
	}
	
	 /**
	  * Javadoc for field f 
	  */
	public int f;
	
	/**
	 * Javadoc for method foo
	 */
	public void foo(int i, long l, String s) {
	}
	
	/**
	 * Javadoc for member type A
	 */
	public class A {
	}

	/**
	 * Javadoc for constructor X(int)
	 */
	X(int i) {
	}
	
	/**
	 * Javadoc for f3
	 */
	/*
	 * Not a javadoc comment
	 */
	/**
	 * Real javadoc for f3
	 */
	public String f3;
	
	public int f2;
	
	public void foo2() {
	}
	
	public class B {
	}

	X() {
	}
	
	{
	}
	
	public void foo(Enumeration enumeration) {
		if (enumeration.hasMoreElements()) {
			System.out.println("Has more elements");
		}
	}
}

Back to the top