aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource')
-rw-r--r--test/transform/resource/after-eclipse/LoggerSlf4jWithPackage.java23
-rw-r--r--test/transform/resource/messages-eclipse/LoggerSlf4jOnNonType.java.messages3
2 files changed, 24 insertions, 2 deletions
diff --git a/test/transform/resource/after-eclipse/LoggerSlf4jWithPackage.java b/test/transform/resource/after-eclipse/LoggerSlf4jWithPackage.java
index cb06d3c1..6d395db8 100644
--- a/test/transform/resource/after-eclipse/LoggerSlf4jWithPackage.java
+++ b/test/transform/resource/after-eclipse/LoggerSlf4jWithPackage.java
@@ -1 +1,22 @@
-//ignore \ No newline at end of file
+package before;
+@lombok.extern.slf4j.Slf4j class LoggerSlf4jWithPackage {
+ private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LoggerSlf4jWithPackage.class);
+ <clinit>() {
+ }
+ LoggerSlf4jWithPackage() {
+ super();
+ }
+}
+class LoggerSlf4jWithPackageOuter {
+ static @lombok.extern.slf4j.Slf4j class Inner {
+ private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(Inner.class);
+ <clinit>() {
+ }
+ Inner() {
+ super();
+ }
+ }
+ LoggerSlf4jWithPackageOuter() {
+ super();
+ }
+} \ No newline at end of file
diff --git a/test/transform/resource/messages-eclipse/LoggerSlf4jOnNonType.java.messages b/test/transform/resource/messages-eclipse/LoggerSlf4jOnNonType.java.messages
index 4a446f28..4af47f01 100644
--- a/test/transform/resource/messages-eclipse/LoggerSlf4jOnNonType.java.messages
+++ b/test/transform/resource/messages-eclipse/LoggerSlf4jOnNonType.java.messages
@@ -1 +1,2 @@
-2 error @Log is legal only on types. \ No newline at end of file
+2 error @Log is legal only on types.
+2 error The annotation @Slf4j is disallowed for this location \ No newline at end of file