aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/OnXJava7StyleOn8.java
blob: 94865c97f03ecd4f75122998f0e96c76415ecd9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//platform ecj,eclipse
//version 8:

public class OnXJava7StyleOn8 {
	@interface Foo {
		String value() default "";
	}

	@interface Bar {
		String stuff() default "";
	}

	@lombok.Getter(onMethod=@__(@Foo)) String a;
	@lombok.Setter(onMethod=@__(@Foo())) String b;
	@lombok.Setter(onParam=@__(@Foo("a"))) String c;
	@lombok.Setter(onParam=@__(@Bar(stuff="b"))) String d;
	@lombok.Getter(onMethod=@__({@Foo(value="c"), @Bar(stuff="d")})) String e;
}