aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-11-06 21:17:48 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-11-06 21:17:48 +0100
commit3cbd92e1b29b23ca543c6cced4f96d1cc68d7d0f (patch)
treefc9c96aab13917994b718beea08486ff85d87469 /test/transform/resource/before
parent384bff18c9ff93f001aa8a938ba721914e101c0d (diff)
parent59150328992339ec64ae015e2d1d73c109c4d322 (diff)
downloadlombok-3cbd92e1b29b23ca543c6cced4f96d1cc68d7d0f.tar.gz
lombok-3cbd92e1b29b23ca543c6cced4f96d1cc68d7d0f.tar.bz2
lombok-3cbd92e1b29b23ca543c6cced4f96d1cc68d7d0f.zip
Merge branch 'master' of github.com:rzwitserloot/lombok
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/LoggerCommons.java11
-rw-r--r--test/transform/resource/before/LoggerJul.java11
-rw-r--r--test/transform/resource/before/LoggerLog4j.java11
-rw-r--r--test/transform/resource/before/LoggerSlf4j.java9
-rw-r--r--test/transform/resource/before/LoggerSlf4jAlreadyExists.java4
-rw-r--r--test/transform/resource/before/LoggerSlf4jClassOfArray.java3
-rw-r--r--test/transform/resource/before/LoggerSlf4jOnNonType.java5
-rw-r--r--test/transform/resource/before/LoggerSlf4jTypes.java18
-rw-r--r--test/transform/resource/before/LoggerSlf4jWithClass.java12
-rw-r--r--test/transform/resource/before/LoggerSlf4jWithPackage.java9
10 files changed, 93 insertions, 0 deletions
diff --git a/test/transform/resource/before/LoggerCommons.java b/test/transform/resource/before/LoggerCommons.java
new file mode 100644
index 00000000..97c91ef0
--- /dev/null
+++ b/test/transform/resource/before/LoggerCommons.java
@@ -0,0 +1,11 @@
+@lombok.commons.Log
+class LoggerCommons {
+}
+
+@lombok.commons.Log(String.class)
+class LoggerCommonsString {
+}
+
+@lombok.commons.Log(java.lang.String.class)
+class LoggerCommonsJavaLangString {
+} \ No newline at end of file
diff --git a/test/transform/resource/before/LoggerJul.java b/test/transform/resource/before/LoggerJul.java
new file mode 100644
index 00000000..1e3313cb
--- /dev/null
+++ b/test/transform/resource/before/LoggerJul.java
@@ -0,0 +1,11 @@
+@lombok.jul.Log
+class LoggerJul {
+}
+
+@lombok.jul.Log(String.class)
+class LoggerJulString {
+}
+
+@lombok.jul.Log(java.lang.String.class)
+class LoggerJulJavaLangString {
+} \ No newline at end of file
diff --git a/test/transform/resource/before/LoggerLog4j.java b/test/transform/resource/before/LoggerLog4j.java
new file mode 100644
index 00000000..33a876c9
--- /dev/null
+++ b/test/transform/resource/before/LoggerLog4j.java
@@ -0,0 +1,11 @@
+@lombok.log4j.Log
+class LoggerLog4j {
+}
+
+@lombok.log4j.Log(String.class)
+class LoggerLog4jString {
+}
+
+@lombok.log4j.Log(java.lang.String.class)
+class LoggerLog4jJavaLangString {
+} \ No newline at end of file
diff --git a/test/transform/resource/before/LoggerSlf4j.java b/test/transform/resource/before/LoggerSlf4j.java
new file mode 100644
index 00000000..78a33fe4
--- /dev/null
+++ b/test/transform/resource/before/LoggerSlf4j.java
@@ -0,0 +1,9 @@
+@lombok.slf4j.Log
+class LoggerSlf4j {
+}
+class LoggerSlf4jOuter {
+ @lombok.slf4j.Log
+ static class Inner {
+
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/before/LoggerSlf4jAlreadyExists.java b/test/transform/resource/before/LoggerSlf4jAlreadyExists.java
new file mode 100644
index 00000000..d0b26482
--- /dev/null
+++ b/test/transform/resource/before/LoggerSlf4jAlreadyExists.java
@@ -0,0 +1,4 @@
+@lombok.slf4j.Log
+class LoggerSlf4jAlreadyExists {
+ int log;
+} \ No newline at end of file
diff --git a/test/transform/resource/before/LoggerSlf4jClassOfArray.java b/test/transform/resource/before/LoggerSlf4jClassOfArray.java
new file mode 100644
index 00000000..34394f13
--- /dev/null
+++ b/test/transform/resource/before/LoggerSlf4jClassOfArray.java
@@ -0,0 +1,3 @@
+@lombok.slf4j.Log(String[].class)
+class LoggerSlf4jClassOfArray {
+}
diff --git a/test/transform/resource/before/LoggerSlf4jOnNonType.java b/test/transform/resource/before/LoggerSlf4jOnNonType.java
new file mode 100644
index 00000000..06c8b059
--- /dev/null
+++ b/test/transform/resource/before/LoggerSlf4jOnNonType.java
@@ -0,0 +1,5 @@
+class LoggerSlf4jOnNonType {
+ @lombok.slf4j.Log
+ void foo() {
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/before/LoggerSlf4jTypes.java b/test/transform/resource/before/LoggerSlf4jTypes.java
new file mode 100644
index 00000000..27201090
--- /dev/null
+++ b/test/transform/resource/before/LoggerSlf4jTypes.java
@@ -0,0 +1,18 @@
+@lombok.slf4j.Log
+interface LoggerSlf4jTypesInterface {
+}
+@lombok.slf4j.Log
+@interface LoggerSlf4jTypesAnnotation {
+}
+@lombok.slf4j.Log
+enum LoggerSlf4jTypesEnum {
+}
+@lombok.slf4j.Log
+enum LoggerSlf4jTypesEnumWithElement {
+ FOO;
+}
+interface LoggerSlf4jTypesInterfaceOuter {
+ @lombok.slf4j.Log
+ class Inner {
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/before/LoggerSlf4jWithClass.java b/test/transform/resource/before/LoggerSlf4jWithClass.java
new file mode 100644
index 00000000..0005d1f5
--- /dev/null
+++ b/test/transform/resource/before/LoggerSlf4jWithClass.java
@@ -0,0 +1,12 @@
+@lombok.slf4j.Log(String.class)
+class LoggerSlf4jWithClass {
+}
+@lombok.slf4j.Log(java.util.List.class)
+class LoggerSlf4jWithClassList {
+}
+@lombok.slf4j.Log(value = java.lang.String.class)
+class LoggerSlf4jWithClassValue {
+}
+@lombok.slf4j.Log(void.class)
+class LoggerSlf4jWithClassVoid {
+}
diff --git a/test/transform/resource/before/LoggerSlf4jWithPackage.java b/test/transform/resource/before/LoggerSlf4jWithPackage.java
new file mode 100644
index 00000000..db6e8939
--- /dev/null
+++ b/test/transform/resource/before/LoggerSlf4jWithPackage.java
@@ -0,0 +1,9 @@
+package before;
+@lombok.slf4j.Log
+class LoggerSlf4jWithPackage {
+}
+class LoggerSlf4jWithPackageOuter {
+ @lombok.slf4j.Log
+ static class Inner {
+ }
+} \ No newline at end of file