summaryrefslogtreecommitdiffstats
path: root/tests/java5/annotations/aspectMembers/a/AnnotatedAspect04.aj
blob: c19b057a35e04c97e4a70956c1c8b3422a637dc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package a;

@TypeAnnotation
public aspect AnnotatedAspect04 {
	
	@ConstructorAnnotation private int ITDMe.goo = 3;
	
	@FieldAnnotation private int ITDMe.getGoo() { return goo; }
	
	@TypeAnnotation public ITDMe.new(int x) { goo = x; }
	
	@MethodAnnotation int ITDMe.foo = 2;  // known limitation - no warning
}

class ITDMe {}