aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2021-02-17 09:41:08 +0100
committerRawi01 <Rawi01@users.noreply.github.com>2021-02-17 09:41:08 +0100
commit0106746e60263d8cc3fbd189cca7b2e09c3d5c06 (patch)
tree11492f7c5e3488d203e82a91a3ceb398fca5aa1a /test/transform/resource/after-ecj
parented4ced1a3bc694f9a9903b5a15b2641236ff2f92 (diff)
downloadlombok-0106746e60263d8cc3fbd189cca7b2e09c3d5c06.tar.gz
lombok-0106746e60263d8cc3fbd189cca7b2e09c3d5c06.tar.bz2
lombok-0106746e60263d8cc3fbd189cca7b2e09c3d5c06.zip
[fixes #2752] Save problem handler state for postponed error handling
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r--test/transform/resource/after-ecj/ExtensionMethodNonStaticAccess.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/ExtensionMethodNonStaticAccess.java b/test/transform/resource/after-ecj/ExtensionMethodNonStaticAccess.java
new file mode 100644
index 00000000..c930a329
--- /dev/null
+++ b/test/transform/resource/after-ecj/ExtensionMethodNonStaticAccess.java
@@ -0,0 +1,22 @@
+class ExtensionMethodNonStaticAccess {
+ ExtensionMethodNonStaticAccess() {
+ super();
+ }
+ public void method() {
+ Derived derived = new Derived();
+ derived.staticMethod();
+ }
+}
+class Base {
+ Base() {
+ super();
+ }
+ static String staticMethod() {
+ return "";
+ }
+}
+class Derived extends Base {
+ Derived() {
+ super();
+ }
+}