aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2022-10-30 10:18:07 +0100
committerRawi01 <Rawi01@users.noreply.github.com>2022-10-30 10:18:07 +0100
commitea14879df8492613f563b9130667ae3d0c3719e1 (patch)
tree89b6fdcbb6832c24bd035ee1ad9f740eabf2ce42 /test/transform/resource/before
parent731bb185077918af8bc1e6a9e6bb538b2d3fbbd8 (diff)
downloadlombok-ea14879df8492613f563b9130667ae3d0c3719e1.tar.gz
lombok-ea14879df8492613f563b9130667ae3d0c3719e1.tar.bz2
lombok-ea14879df8492613f563b9130667ae3d0c3719e1.zip
[fixes #3242] Use real type for enclosing class
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/ValSuperDefaultMethod.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/transform/resource/before/ValSuperDefaultMethod.java b/test/transform/resource/before/ValSuperDefaultMethod.java
new file mode 100644
index 00000000..93bcb153
--- /dev/null
+++ b/test/transform/resource/before/ValSuperDefaultMethod.java
@@ -0,0 +1,16 @@
+// version :9
+import lombok.val;
+
+class ValSuperDefaultMethod implements Default {
+ public void test() {
+ val a = "";
+ Default.super.method();
+ }
+
+}
+
+interface Default {
+ default void method() {
+
+ }
+} \ No newline at end of file