mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-16 06:14:36 +00:00
[fixes #2990] Treat records and enums as places where static is allowed.
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user