Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 4d5ef666af52e784f12a323ac117c1116c629439 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * This is about <code>ClassName</code>.
 * {@link com.yourCompany.aPackage.Interface}
 * @author author
 * @deprecated use <code>OtherClass</code>
 */
public class ClassName<E> extends AnyClass implements InterfaceName<String> {
	enum Color { RED, GREEN, BLUE };
	/* This comment may span multiple lines. */
	static Object staticField;
	// This comment may span only this line
	private E field;
	private AbstractClassName field2;
	// TASK: refactor
	@SuppressWarnings(value="all")
	public int foo(Integer parameter) {
		abstractMethod(inheritedField);
		int local= 42*hashCode();
		staticMethod();
		return bar(local) + parameter;
	}
}

Back to the top