aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/experimental/AccessorsExample_pre.jpage
blob: f1591aba7f29e64184d26b6aa6091eab6fed28b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import lombok.experimental.Accessors;
import lombok.Getter;
import lombok.Setter;

@Accessors(fluent = true)
public class AccessorsExample {
	@Getter @Setter
	private int age = 10;
}

class PrefixExample {
	@Accessors(prefix = "f") @Getter
	private String fName = "Hello, World!";
}