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/LoggerLog4j2.java4
-rw-r--r--test/transform/resource/after-ecj/LoggerLog4j2.java8
-rw-r--r--test/transform/resource/before/LoggerLog4j2.java4
3 files changed, 16 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/LoggerLog4j2.java b/test/transform/resource/after-delombok/LoggerLog4j2.java
index 7e4c01de..8473134b 100644
--- a/test/transform/resource/after-delombok/LoggerLog4j2.java
+++ b/test/transform/resource/after-delombok/LoggerLog4j2.java
@@ -5,4 +5,8 @@ class LoggerLog4j2 {
class LoggerLog4j2WithImport {
@java.lang.SuppressWarnings("all")
private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger(LoggerLog4j2WithImport.class);
+}
+class LoggerLog4j2WithDifferentName {
+ @java.lang.SuppressWarnings("all")
+ private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger("DifferentName");
} \ No newline at end of file
diff --git a/test/transform/resource/after-ecj/LoggerLog4j2.java b/test/transform/resource/after-ecj/LoggerLog4j2.java
index c1368e5d..3243ef2d 100644
--- a/test/transform/resource/after-ecj/LoggerLog4j2.java
+++ b/test/transform/resource/after-ecj/LoggerLog4j2.java
@@ -14,4 +14,12 @@ import lombok.extern.log4j.Log4j2;
LoggerLog4j2WithImport() {
super();
}
+}
+@Log4j2("DifferentName") class LoggerLog4j2WithDifferentName {
+ private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger("DifferentName");
+ <clinit>() {
+ }
+ LoggerLog4j2WithDifferentName() {
+ super();
+ }
} \ No newline at end of file
diff --git a/test/transform/resource/before/LoggerLog4j2.java b/test/transform/resource/before/LoggerLog4j2.java
index b7ea99ee..13b3605f 100644
--- a/test/transform/resource/before/LoggerLog4j2.java
+++ b/test/transform/resource/before/LoggerLog4j2.java
@@ -6,4 +6,8 @@ class LoggerLog4j2 {
@Log4j2
class LoggerLog4j2WithImport {
+}
+
+@Log4j2("DifferentName")
+class LoggerLog4j2WithDifferentName {
} \ No newline at end of file