aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/ToStringInAnonymousClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/ToStringInAnonymousClass.java')
-rw-r--r--test/transform/resource/after-delombok/ToStringInAnonymousClass.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/ToStringInAnonymousClass.java b/test/transform/resource/after-delombok/ToStringInAnonymousClass.java
new file mode 100644
index 00000000..aa3651bb
--- /dev/null
+++ b/test/transform/resource/after-delombok/ToStringInAnonymousClass.java
@@ -0,0 +1,14 @@
+public class ToStringInAnonymousClass {
+ Object annonymous = new Object() {
+
+ class Inner {
+ private String string;
+
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ public java.lang.String toString() {
+ return "Inner(string=" + this.string + ")";
+ }
+ }
+ };
+}