Skip to main content
summaryrefslogtreecommitdiffstats
blob: 818ac78501ed2a4da95ceff547ba68b1899306ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package p;

class A {
	public @interface Annotation {
		String name() default "foo";
	}
	private int bar() {
		return foo();
	}
	@Annotation (
		name= "bar"
	)
	public int foo() {
		return 2;
	}
}
class B extends A {
}

Back to the top