blob: f6d1c84568426c68391cd337bbfa86abbc42bd67 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
public class OnXJava7StyleOn8 {
@interface Foo {
String value() default "";
}
@interface Bar {
String stuff() default "";
}
@interface Array {
String[] value() default {};
}
@lombok.Getter() String a;
@lombok.Setter() String b;
@lombok.Setter() String c;
@lombok.Setter() String d;
@lombok.Getter() String e;
@lombok.Getter() String f;
@lombok.Getter() String g;
@lombok.Getter() String h;
@lombok.Getter() String i;
public OnXJava7StyleOn8() {
super();
}
public @Foo @java.lang.SuppressWarnings("all") String getA() {
return this.a;
}
public @Foo() @java.lang.SuppressWarnings("all") void setB(final String b) {
this.b = b;
}
public @java.lang.SuppressWarnings("all") void setC(final @Foo("a") String c) {
this.c = c;
}
public @java.lang.SuppressWarnings("all") void setD(final @Bar(stuff = "b") String d) {
this.d = d;
}
public @Foo(value = "c") @Bar(stuff = "d") @java.lang.SuppressWarnings("all") String getE() {
return this.e;
}
public @Array @java.lang.SuppressWarnings("all") String getF() {
return this.f;
}
public @Array() @java.lang.SuppressWarnings("all") String getG() {
return this.g;
}
public @Array({}) @java.lang.SuppressWarnings("all") String getH() {
return this.h;
}
public @Array({"a", "b"}) @java.lang.SuppressWarnings("all") String getI() {
return this.i;
}
}
|