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