[fixes #3830] Detect @Delegate on record components

This commit is contained in:
Rawi01 committed 2025-02-19 23:47:50 +01:00
1 parent 47cb06ef2c
commit 9b37daa9da
5 files changed
+46 -9

No files matched your search

@@ -0,0 +1,8 @@
// version 14:
import lombok.experimental.Delegate;
record DelegateOnRecord(Runnable runnable) {
/* Implicit */ private final Runnable runnable;
public @java.lang.SuppressWarnings("all") @lombok.Generated void run() {
this.runnable.run();
}
}