[fixes #2990] Treat records and enums as places where static is allowed.

This commit is contained in:
Reinier Zwitserloot committed 2022-03-17 22:07:46 +01:00
1 parent 3a4f0e08db
commit 2eddba64f7
7 files changed
+34 -20

No files matched your search

@@ -0,0 +1,16 @@
import lombok.extern.flogger.Flogger;
class LoggerFloggerRecord {
static @Flogger record Inner(String x) {
private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingClass();
/* Implicit */ private final String x;
<clinit>() {
}
public Inner(String x) {
super();
.x = x;
}
}
LoggerFloggerRecord() {
super();
}
}