aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource
diff options
context:
space:
mode:
authorgrootjans <grootjans@gmail.com>2012-10-29 23:38:06 +0100
committergrootjans <grootjans@gmail.com>2012-10-30 00:44:45 +0100
commit11a07262efd3595fd59e52cf81c21c919ff3814f (patch)
tree2398e9a185a6af4f75da2dd925c800c55a029b84 /test/transform/resource
parent8a5d637af766d71d4f2b5f87eceec5360de831fa (diff)
downloadlombok-11a07262efd3595fd59e52cf81c21c919ff3814f.tar.gz
lombok-11a07262efd3595fd59e52cf81c21c919ff3814f.tar.bz2
lombok-11a07262efd3595fd59e52cf81c21c919ff3814f.zip
Added annotation for the slf4j extended logger
Diffstat (limited to 'test/transform/resource')
-rw-r--r--test/transform/resource/after-delombok/LoggerXSlf4j.java7
-rw-r--r--test/transform/resource/after-ecj/LoggerXSlf4j.java17
-rw-r--r--test/transform/resource/before/LoggerXSlf4j.java9
3 files changed, 33 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/LoggerXSlf4j.java b/test/transform/resource/after-delombok/LoggerXSlf4j.java
new file mode 100644
index 00000000..0239c60b
--- /dev/null
+++ b/test/transform/resource/after-delombok/LoggerXSlf4j.java
@@ -0,0 +1,7 @@
+class LoggerXSlf4j {
+ private static final org.slf4j.ext.XLogger log = org.slf4j.ext.XLoggerFactory.getXLogger(LoggerXSlf4j.class);
+}
+
+class LoggerXSlf4jWithImport {
+ private static final org.slf4j.ext.XLogger log = org.slf4j.ext.XLoggerFactory.getXLogger(LoggerXSlf4jWithImport.class);
+} \ No newline at end of file
diff --git a/test/transform/resource/after-ecj/LoggerXSlf4j.java b/test/transform/resource/after-ecj/LoggerXSlf4j.java
new file mode 100644
index 00000000..f05e1ae7
--- /dev/null
+++ b/test/transform/resource/after-ecj/LoggerXSlf4j.java
@@ -0,0 +1,17 @@
+import lombok.extern.slf4j.XSlf4j;
+@lombok.extern.slf4j.XSlf4j class LoggerXSlf4j {
+ private static final org.slf4j.ext.XLogger log = org.slf4j.ext.XLoggerFactory.getXLogger(LoggerXSlf4j.class);
+ <clinit>() {
+ }
+ LoggerXSlf4j() {
+ super();
+ }
+}
+@XSlf4j class LoggerXSlf4jWithImport {
+ private static final org.slf4j.ext.XLogger log = org.slf4j.ext.XLoggerFactory.getXLogger(LoggerXSlf4jWithImport.class);
+ <clinit>() {
+ }
+ LoggerXSlf4jWithImport() {
+ super();
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/before/LoggerXSlf4j.java b/test/transform/resource/before/LoggerXSlf4j.java
new file mode 100644
index 00000000..6dbbf2d1
--- /dev/null
+++ b/test/transform/resource/before/LoggerXSlf4j.java
@@ -0,0 +1,9 @@
+import lombok.extern.slf4j.XSlf4j;
+
+@lombok.extern.slf4j.XSlf4j
+class LoggerXSlf4j {
+}
+
+@XSlf4j
+class LoggerXSlf4jWithImport {
+} \ No newline at end of file