aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/ToStringInAnonymousClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/ToStringInAnonymousClass.java')
-rw-r--r--test/transform/resource/before/ToStringInAnonymousClass.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/transform/resource/before/ToStringInAnonymousClass.java b/test/transform/resource/before/ToStringInAnonymousClass.java
new file mode 100644
index 00000000..87a7a6c1
--- /dev/null
+++ b/test/transform/resource/before/ToStringInAnonymousClass.java
@@ -0,0 +1,10 @@
+import lombok.ToString;
+
+public class ToStringInAnonymousClass {
+ Object annonymous = new Object() {
+ @ToString
+ class Inner {
+ private String string;
+ }
+ };
+} \ No newline at end of file