diff options
author | Roel Spilker <r.spilker@gmail.com> | 2020-12-21 17:15:21 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2020-12-22 00:27:12 +0100 |
commit | c9f6766b6365b72a155d701c2c5714b181e80a6e (patch) | |
tree | 4cd69fb91f7759772900dcbf60d0851e91163708 /test/transform/resource/before/DelegateOnLocalClass.java | |
parent | f17dd036384242971546bc443749ad527b8cd21c (diff) | |
download | lombok-c9f6766b6365b72a155d701c2c5714b181e80a6e.tar.gz lombok-c9f6766b6365b72a155d701c2c5714b181e80a6e.tar.bz2 lombok-c9f6766b6365b72a155d701c2c5714b181e80a6e.zip |
Run tests if no exclusions match
Diffstat (limited to 'test/transform/resource/before/DelegateOnLocalClass.java')
-rw-r--r-- | test/transform/resource/before/DelegateOnLocalClass.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/transform/resource/before/DelegateOnLocalClass.java b/test/transform/resource/before/DelegateOnLocalClass.java new file mode 100644 index 00000000..7376c087 --- /dev/null +++ b/test/transform/resource/before/DelegateOnLocalClass.java @@ -0,0 +1,19 @@ +//platform !eclipse: Requires a 'full' eclipse with intialized workspace, and we don't (yet) have that set up properly in the test run. +//skip compare content +//ignore: crashed javac with NPE, should be enabled when that bug is fixed +import lombok.experimental.Delegate; +import lombok.Getter; + +interface DelegateOnLocalClass { + void test1() { + class DelegateOnStatic { + @Delegate private final java.lang.Runnable field = null; + } + } + + void test2() { + Runnable r = new Runnable() { + @Delegate private final java.lang.Runnable field = null; + } + } +} |