blob: 3ef8a02f301772e02777ca305c3a0498b5e01f2f (
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
|
class AccessorsFluent {
@lombok.Getter @lombok.Setter @lombok.experimental.Accessors(fluent=true)
private String fieldName = "";
}
@lombok.experimental.Accessors(fluent=true)
@lombok.Getter
class AccessorsFluentOnClass {
@lombok.Setter private String fieldName = "";
@lombok.experimental.Accessors private String otherFieldWithOverride = "";
}
class AccessorsChain {
@lombok.Setter @lombok.experimental.Accessors(chain=true) private boolean isRunning;
}
@lombok.experimental.Accessors(prefix="f")
class AccessorsPrefix {
@lombok.Setter private String fieldName;
@lombok.Setter private String fActualField;
}
@lombok.experimental.Accessors(prefix={"f", ""})
class AccessorsPrefix2 {
@lombok.Setter private String fieldName;
@lombok.Setter private String fActualField;
}
@lombok.experimental.Accessors(prefix="f")
@lombok.ToString
@lombok.EqualsAndHashCode
class AccessorsPrefix3 {
private String fName;
private String getName() {
return fName;
}
}
class AccessorsFluentGenerics<T extends Number> {
@lombok.Setter @lombok.experimental.Accessors(fluent=true) private String name;
}
class AccessorsFluentNoChaining {
@lombok.Setter @lombok.experimental.Accessors(fluent=true,chain=false) private String name;
}
class AccessorsFluentStatic<T extends Number> {
@lombok.Setter @lombok.experimental.Accessors(fluent=true) private static String name;
}
|