mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 12:14:31 +00:00
[deps] pushing ASM to 9.1, and ASM opcode compat levels to ASM9, as we need the support for records
This commit is contained in:
52 files changed
+71
-56
No files matched your search
@@ -1,9 +1,15 @@
|
||||
// version 14:
|
||||
record WithOnRecord(String a, String b) {
|
||||
/**
|
||||
* @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed).
|
||||
*/
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public WithOnRecord withA(final String a) {
|
||||
return this.a == a ? this : new WithOnRecord(a, this.b);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed).
|
||||
*/
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public WithOnRecord withB(final String b) {
|
||||
return this.b == b ? this : new WithOnRecord(this.a, b);
|
||||
|
||||
Reference in new issue
Block a user