mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 04:16:19 +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,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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user