[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,6 @@
class LoggerFloggerRecord {
record Inner(String x) {
@java.lang.SuppressWarnings("all")
private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingClass();
}
}