aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/OnXJava7Style.java
blob: c9a022d7d0998066b36f2278cf86f8aa30f5fa18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//version :7
public class OnXJava7Style {
	@interface Foo {
		String value() default "";
	}

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

	@interface Array {
		String[] value() 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;
	@lombok.Getter(onMethod=@__(@Array)) String f;
	@lombok.Getter(onMethod=@__(@Array())) String g;
	@lombok.Getter(onMethod=@__(@Array({}))) String h;
	@lombok.Getter(onMethod=@__(@Array({"a", "b"}))) String i;
}