mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 10:15:19 +00:00
The great rename: the old ‘website’ is now ‘website-old’, and ‘website2’ is now ‘website’.
This commit is contained in:
1 parent
72fd50b9f1
commit
8b7a7cbc81
185 files changed
+25
-25
No files matched your search
@@ -0,0 +1,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!";
|
||||
}
|
||||
Reference in new issue
Block a user