mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 12:16:49 +00:00
[fixes #3883] Support records in upcoming eclipse version
This commit is contained in:
1 parent
98d980deca
commit
45f0da2050
38 files changed
+80
-83
No files matched your search
@@ -1,8 +1,6 @@
|
||||
// version 14:
|
||||
import lombok.experimental.WithBy;
|
||||
public record WithByOnRecordComponent(String a, String b) {
|
||||
/* Implicit */ private final String a;
|
||||
/* Implicit */ private final String b;
|
||||
public @java.lang.SuppressWarnings("all") @lombok.Generated WithByOnRecordComponent withABy(final java.util.function.Function<? super String, ? extends String> transformer) {
|
||||
return new WithByOnRecordComponent(transformer.apply(this.a), this.b);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user