aboutsummaryrefslogtreecommitdiff
path: root/test/transform
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform')
-rw-r--r--test/transform/resource/after-delombok/ToStringExplicitIncludeConf.java9
-rw-r--r--test/transform/resource/after-ecj/ToStringExplicitIncludeConf.java10
-rw-r--r--test/transform/resource/before/ToStringExplicitIncludeConf.java7
3 files changed, 26 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/ToStringExplicitIncludeConf.java b/test/transform/resource/after-delombok/ToStringExplicitIncludeConf.java
new file mode 100644
index 00000000..a1bd8ed9
--- /dev/null
+++ b/test/transform/resource/after-delombok/ToStringExplicitIncludeConf.java
@@ -0,0 +1,9 @@
+class ToStringExplicitIncludeConf {
+ int x;
+ int y;
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ public java.lang.String toString() {
+ return "ToStringExplicitIncludeConf(" + this.y + ")";
+ }
+}
diff --git a/test/transform/resource/after-ecj/ToStringExplicitIncludeConf.java b/test/transform/resource/after-ecj/ToStringExplicitIncludeConf.java
new file mode 100644
index 00000000..a2b801c6
--- /dev/null
+++ b/test/transform/resource/after-ecj/ToStringExplicitIncludeConf.java
@@ -0,0 +1,10 @@
+@lombok.ToString class ToStringExplicitIncludeConf {
+ int x;
+ @lombok.ToString.Include int y;
+ ToStringExplicitIncludeConf() {
+ super();
+ }
+ public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
+ return (("ToStringExplicitIncludeConf(y=" + this.y) + ")");
+ }
+}
diff --git a/test/transform/resource/before/ToStringExplicitIncludeConf.java b/test/transform/resource/before/ToStringExplicitIncludeConf.java
new file mode 100644
index 00000000..ee49c754
--- /dev/null
+++ b/test/transform/resource/before/ToStringExplicitIncludeConf.java
@@ -0,0 +1,7 @@
+//CONF: lombok.toString.onlyExplicitlyIncluded = true
+
+@lombok.ToString
+class ToStringExplicitIncludeConf {
+ int x;
+ @lombok.ToString.Include int y;
+}