aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/LoggerSlf4j.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2022-03-17 21:32:31 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2022-03-17 21:32:31 +0100
commit3a4f0e08dbb82fdf93b04da2b0876563e96e13b7 (patch)
treec1acfdd0a1824908a1ca4a44a2eac0567725e2f6 /test/transform/resource/after-ecj/LoggerSlf4j.java
parent70bda546114ceccc7714bd6060d96edbcd25e3a0 (diff)
parent3679fcee8c6023904eb87821d0e3b7ca4f4f74fb (diff)
downloadlombok-3a4f0e08dbb82fdf93b04da2b0876563e96e13b7.tar.gz
lombok-3a4f0e08dbb82fdf93b04da2b0876563e96e13b7.tar.bz2
lombok-3a4f0e08dbb82fdf93b04da2b0876563e96e13b7.zip
Merge branch 'fix-enum-logging' of https://github.com/varkart/lombok into varkart-fix-enum-logging
Diffstat (limited to 'test/transform/resource/after-ecj/LoggerSlf4j.java')
-rw-r--r--test/transform/resource/after-ecj/LoggerSlf4j.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/LoggerSlf4j.java b/test/transform/resource/after-ecj/LoggerSlf4j.java
index 286d023b..85e49186 100644
--- a/test/transform/resource/after-ecj/LoggerSlf4j.java
+++ b/test/transform/resource/after-ecj/LoggerSlf4j.java
@@ -15,6 +15,29 @@ import lombok.extern.slf4j.Slf4j;
super();
}
}
+@Slf4j enum LoggerSlf4jWithEnum {
+ CONSTANT(),
+ private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LoggerSlf4jWithEnum.class);
+ <clinit>() {
+ }
+ LoggerSlf4jWithEnum() {
+ super();
+ }
+}
+class LoggerSlf4jWithInnerEnum {
+ @Slf4j enum Inner {
+ CONSTANT(),
+ private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(Inner.class);
+ <clinit>() {
+ }
+ Inner() {
+ super();
+ }
+ }
+ LoggerSlf4jWithInnerEnum() {
+ super();
+ }
+}
class LoggerSlf4jOuter {
static @lombok.extern.slf4j.Slf4j class Inner {
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(Inner.class);