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/LoggerCommons.java4
-rw-r--r--test/transform/resource/after-ecj/LoggerCommons.java8
-rw-r--r--test/transform/resource/before/LoggerCommons.java6
3 files changed, 17 insertions, 1 deletions
diff --git a/test/transform/resource/after-delombok/LoggerCommons.java b/test/transform/resource/after-delombok/LoggerCommons.java
index 6feea5b6..32ace53a 100644
--- a/test/transform/resource/after-delombok/LoggerCommons.java
+++ b/test/transform/resource/after-delombok/LoggerCommons.java
@@ -5,4 +5,8 @@ class LoggerCommons {
class LoggerCommonsWithImport {
@java.lang.SuppressWarnings("all")
private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LoggerCommonsWithImport.class);
+}
+class LoggerCommonsWithDifferentName {
+ @java.lang.SuppressWarnings("all")
+ private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog("DifferentName");
} \ No newline at end of file
diff --git a/test/transform/resource/after-ecj/LoggerCommons.java b/test/transform/resource/after-ecj/LoggerCommons.java
index d63bb9c1..50d07a14 100644
--- a/test/transform/resource/after-ecj/LoggerCommons.java
+++ b/test/transform/resource/after-ecj/LoggerCommons.java
@@ -14,4 +14,12 @@ import lombok.extern.apachecommons.CommonsLog;
LoggerCommonsWithImport() {
super();
}
+}
+@CommonsLog("DifferentName") class LoggerCommonsWithDifferentName {
+ private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog("DifferentName");
+ <clinit>() {
+ }
+ LoggerCommonsWithDifferentName() {
+ super();
+ }
} \ No newline at end of file
diff --git a/test/transform/resource/before/LoggerCommons.java b/test/transform/resource/before/LoggerCommons.java
index 52210d25..ce9e4ec4 100644
--- a/test/transform/resource/before/LoggerCommons.java
+++ b/test/transform/resource/before/LoggerCommons.java
@@ -6,4 +6,8 @@ class LoggerCommons {
@CommonsLog
class LoggerCommonsWithImport {
-} \ No newline at end of file
+}
+
+@CommonsLog("DifferentName")
+class LoggerCommonsWithDifferentName {
+}