aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource')
-rw-r--r--test/transform/resource/after-delombok/LoggerSlf4j.java12
-rw-r--r--test/transform/resource/after-ecj/LoggerSlf4j.java23
-rw-r--r--test/transform/resource/before/LoggerSlf4j.java12
3 files changed, 47 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/LoggerSlf4j.java b/test/transform/resource/after-delombok/LoggerSlf4j.java
index 152c8708..099a65ad 100644
--- a/test/transform/resource/after-delombok/LoggerSlf4j.java
+++ b/test/transform/resource/after-delombok/LoggerSlf4j.java
@@ -6,6 +6,18 @@ class LoggerSlf4jWithImport {
@java.lang.SuppressWarnings("all")
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LoggerSlf4jWithImport.class);
}
+enum LoggerSlf4jWithEnum {
+ CONSTANT;
+ @java.lang.SuppressWarnings("all")
+ private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LoggerSlf4jWithEnum.class);
+}
+class LoggerSlf4jWithInnerEnum {
+ enum Inner {
+ CONSTANT;
+ @java.lang.SuppressWarnings("all")
+ private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(Inner.class);
+ }
+}
class LoggerSlf4jOuter {
static class Inner {
@java.lang.SuppressWarnings("all")
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);
diff --git a/test/transform/resource/before/LoggerSlf4j.java b/test/transform/resource/before/LoggerSlf4j.java
index c59db4ee..f6310bf5 100644
--- a/test/transform/resource/before/LoggerSlf4j.java
+++ b/test/transform/resource/before/LoggerSlf4j.java
@@ -8,6 +8,18 @@ class LoggerSlf4j {
class LoggerSlf4jWithImport {
}
+@Slf4j
+enum LoggerSlf4jWithEnum {
+ CONSTANT;
+}
+
+class LoggerSlf4jWithInnerEnum {
+ @Slf4j
+ enum Inner {
+ CONSTANT;
+ }
+}
+
class LoggerSlf4jOuter {
@lombok.extern.slf4j.Slf4j
static class Inner {