diff options
Diffstat (limited to 'test/transform/resource/before')
10 files changed, 96 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..d6359bd7 --- /dev/null +++ b/test/transform/resource/before/LoggerCommons.java @@ -0,0 +1,11 @@ +@lombok.extern.apachecommons.Log +class LoggerCommons { +} + +@lombok.extern.apachecommons.Log(String.class) +class LoggerCommonsString { +} + +@lombok.extern.apachecommons.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..1c74ea4f --- /dev/null +++ b/test/transform/resource/before/LoggerJul.java @@ -0,0 +1,11 @@ +@lombok.extern.jul.Log +class LoggerJul { +} + +@lombok.extern.jul.Log(String.class) +class LoggerJulString { +} + +@lombok.extern.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..0199809c --- /dev/null +++ b/test/transform/resource/before/LoggerLog4j.java @@ -0,0 +1,11 @@ +@lombok.extern.log4j.Log +class LoggerLog4j { +} + +@lombok.extern.log4j.Log(String.class) +class LoggerLog4jString { +} + +@lombok.extern.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..92aeefbd --- /dev/null +++ b/test/transform/resource/before/LoggerSlf4j.java @@ -0,0 +1,9 @@ +@lombok.extern.slf4j.Log +class LoggerSlf4j { +} +class LoggerSlf4jOuter { + @lombok.extern.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..8ac0225d --- /dev/null +++ b/test/transform/resource/before/LoggerSlf4jAlreadyExists.java @@ -0,0 +1,4 @@ +@lombok.extern.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..87248538 --- /dev/null +++ b/test/transform/resource/before/LoggerSlf4jClassOfArray.java @@ -0,0 +1,6 @@ +@lombok.extern.slf4j.Log(String[].class) +class LoggerSlf4jClassOfArray { +} +@lombok.extern.slf4j.Log(java.lang.String[].class) +class LoggerSlf4jClassOfArrayJLS { +} diff --git a/test/transform/resource/before/LoggerSlf4jOnNonType.java b/test/transform/resource/before/LoggerSlf4jOnNonType.java new file mode 100644 index 00000000..c57e171c --- /dev/null +++ b/test/transform/resource/before/LoggerSlf4jOnNonType.java @@ -0,0 +1,5 @@ +class LoggerSlf4jOnNonType { + @lombok.extern.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..9f221f73 --- /dev/null +++ b/test/transform/resource/before/LoggerSlf4jTypes.java @@ -0,0 +1,18 @@ +@lombok.extern.slf4j.Log +interface LoggerSlf4jTypesInterface { +} +@lombok.extern.slf4j.Log +@interface LoggerSlf4jTypesAnnotation { +} +@lombok.extern.slf4j.Log +enum LoggerSlf4jTypesEnum { +} +@lombok.extern.slf4j.Log +enum LoggerSlf4jTypesEnumWithElement { + FOO; +} +interface LoggerSlf4jTypesInterfaceOuter { + @lombok.extern.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..b9cf8187 --- /dev/null +++ b/test/transform/resource/before/LoggerSlf4jWithClass.java @@ -0,0 +1,12 @@ +@lombok.extern.slf4j.Log(String.class) +class LoggerSlf4jWithClass { +} +@lombok.extern.slf4j.Log(java.util.List.class) +class LoggerSlf4jWithClassList { +} +@lombok.extern.slf4j.Log(value = java.lang.String.class) +class LoggerSlf4jWithClassValue { +} +@lombok.extern.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..efbaef68 --- /dev/null +++ b/test/transform/resource/before/LoggerSlf4jWithPackage.java @@ -0,0 +1,9 @@ +package before; +@lombok.extern.slf4j.Log +class LoggerSlf4jWithPackage { +} +class LoggerSlf4jWithPackageOuter { + @lombok.extern.slf4j.Log + static class Inner { + } +}
\ No newline at end of file |