aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/InnerClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/InnerClass.java')
-rw-r--r--test/transform/resource/before/InnerClass.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/transform/resource/before/InnerClass.java b/test/transform/resource/before/InnerClass.java
new file mode 100644
index 00000000..ba020686
--- /dev/null
+++ b/test/transform/resource/before/InnerClass.java
@@ -0,0 +1,17 @@
+class A {
+ @lombok.AllArgsConstructor
+ class B {
+ String s;
+ }
+}
+
+class C {
+ @lombok.Value
+ class D {
+ A a;
+
+ A.B test(String s) {
+ return a.new B(s) {};
+ }
+ }
+} \ No newline at end of file