diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2021-03-04 22:15:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-04 22:15:03 +0100 |
commit | e959e8882c11349fb87cea3a134de263249d7b21 (patch) | |
tree | 1d7789d3197d5afcfae6a4c4152384668232917f /test/transform/resource/after-ecj | |
parent | bb36d95226f9432120bb12db8e22363107969c56 (diff) | |
parent | 0106746e60263d8cc3fbd189cca7b2e09c3d5c06 (diff) | |
download | lombok-e959e8882c11349fb87cea3a134de263249d7b21.tar.gz lombok-e959e8882c11349fb87cea3a134de263249d7b21.tar.bz2 lombok-e959e8882c11349fb87cea3a134de263249d7b21.zip |
Merge pull request #2754 from Rawi01/npe-nonStaticAccess
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.java | 22 |
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(); + } +} |