aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2010-11-06 15:37:20 +0100
committerRoel Spilker <r.spilker@gmail.com>2010-11-06 15:37:20 +0100
commit8a3a656213605482bfa11f2efddf96dc1f47d16e (patch)
treeaef93d55a268d9b1410862cb533c8b187ce63ac6 /test
parent66661b63c8becd7a9c1813815fdb09efefbf334a (diff)
downloadlombok-8a3a656213605482bfa11f2efddf96dc1f47d16e.tar.gz
lombok-8a3a656213605482bfa11f2efddf96dc1f47d16e.tar.bz2
lombok-8a3a656213605482bfa11f2efddf96dc1f47d16e.zip
Add support for multiple logging frameworks in Eclipse
Diffstat (limited to 'test')
-rw-r--r--test/transform/resource/after-ecj/LoggerCommons.java18
-rw-r--r--test/transform/resource/after-ecj/LoggerJul.java18
-rw-r--r--test/transform/resource/after-ecj/LoggerLog4j.java18
3 files changed, 54 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/LoggerCommons.java b/test/transform/resource/after-ecj/LoggerCommons.java
new file mode 100644
index 00000000..1d21fb66
--- /dev/null
+++ b/test/transform/resource/after-ecj/LoggerCommons.java
@@ -0,0 +1,18 @@
+@lombok.commons.Log class LoggerCommons {
+ private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LoggerCommons.class);
+ LoggerCommons() {
+ super();
+ }
+}
+@lombok.commons.Log(String.class) class LoggerCommonsString {
+ private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(String.class);
+ LoggerCommonsString() {
+ super();
+ }
+}
+@lombok.commons.Log(java.lang.String.class) class LoggerCommonsJavaLangString {
+ private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(java.lang.String.class);
+ LoggerCommonsJavaLangString() {
+ super();
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/after-ecj/LoggerJul.java b/test/transform/resource/after-ecj/LoggerJul.java
new file mode 100644
index 00000000..86405ebd
--- /dev/null
+++ b/test/transform/resource/after-ecj/LoggerJul.java
@@ -0,0 +1,18 @@
+@lombok.jul.Log class LoggerJul {
+ private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger("LoggerJul");
+ LoggerJul() {
+ super();
+ }
+}
+@lombok.jul.Log(String.class) class LoggerJulString {
+ private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger("String");
+ LoggerJulString() {
+ super();
+ }
+}
+@lombok.jul.Log(java.lang.String.class) class LoggerJulJavaLangString {
+ private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger("java.lang.String");
+ LoggerJulJavaLangString() {
+ super();
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/after-ecj/LoggerLog4j.java b/test/transform/resource/after-ecj/LoggerLog4j.java
new file mode 100644
index 00000000..27ad6b9c
--- /dev/null
+++ b/test/transform/resource/after-ecj/LoggerLog4j.java
@@ -0,0 +1,18 @@
+@lombok.log4j.Log class LoggerLog4j {
+ private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LoggerLog4j.class);
+ LoggerLog4j() {
+ super();
+ }
+}
+@lombok.log4j.Log(String.class) class LoggerLog4jString {
+ private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(String.class);
+ LoggerLog4jString() {
+ super();
+ }
+}
+@lombok.log4j.Log(java.lang.String.class) class LoggerLog4jJavaLangString {
+ private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(java.lang.String.class);
+ LoggerLog4jJavaLangString() {
+ super();
+ }
+} \ No newline at end of file