aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource')
-rw-r--r--test/transform/resource/before/FlagUsages.java10
-rw-r--r--test/transform/resource/messages-delombok/FlagUsages.java.messages2
-rw-r--r--test/transform/resource/messages-ecj/FlagUsages.java.messages2
3 files changed, 14 insertions, 0 deletions
diff --git a/test/transform/resource/before/FlagUsages.java b/test/transform/resource/before/FlagUsages.java
new file mode 100644
index 00000000..d6cb331a
--- /dev/null
+++ b/test/transform/resource/before/FlagUsages.java
@@ -0,0 +1,10 @@
+//conf: lombok.Getter.flagUsage = WARNING
+//conf: lombok.experimental.flagUsage = ERROR
+public class FlagUsages {
+ @lombok.Getter String x;
+
+ @lombok.experimental.Wither String z;
+
+ public FlagUsages(String x, String y) {
+ }
+}
diff --git a/test/transform/resource/messages-delombok/FlagUsages.java.messages b/test/transform/resource/messages-delombok/FlagUsages.java.messages
new file mode 100644
index 00000000..79cb456b
--- /dev/null
+++ b/test/transform/resource/messages-delombok/FlagUsages.java.messages
@@ -0,0 +1,2 @@
+4 Use of @Getter is flagged according to lombok configuration.
+6 Use of any lombok.experimental feature is flagged according to lombok configuration.
diff --git a/test/transform/resource/messages-ecj/FlagUsages.java.messages b/test/transform/resource/messages-ecj/FlagUsages.java.messages
new file mode 100644
index 00000000..79cb456b
--- /dev/null
+++ b/test/transform/resource/messages-ecj/FlagUsages.java.messages
@@ -0,0 +1,2 @@
+4 Use of @Getter is flagged according to lombok configuration.
+6 Use of any lombok.experimental feature is flagged according to lombok configuration.