aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/Accessors.java
blob: 185476202d5471b829b7630db62eb55d87eec6e4 (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
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;
	}
}