mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 16:17:34 +00:00
Add record support
This commit is contained in:
1 parent
9148294f78
commit
0064c53427
120 files changed
+1168
-141
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import lombok.EqualsAndHashCode;
|
||||
@EqualsAndHashCode record EqualsAndHashCodeOnRecord(String a, String b) {
|
||||
/* Implicit */ private final String a;
|
||||
/* Implicit */ private final String b;
|
||||
public EqualsAndHashCodeOnRecord(String a, String b) {
|
||||
super();
|
||||
.a = a;
|
||||
.b = b;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user