diff options
author | Rawi01 <Rawi01@users.noreply.github.com> | 2021-02-07 21:22:07 +0100 |
---|---|---|
committer | Rawi01 <Rawi01@users.noreply.github.com> | 2021-02-07 21:23:21 +0100 |
commit | d42a6fe40eacd8aca9697adda0eed61f66ab7d6c (patch) | |
tree | af7b43adec646dbc7e3ab019b7295683fc839890 /test/transform/resource/before/ExtensionMethodChain.java | |
parent | ed4ced1a3bc694f9a9903b5a15b2641236ff2f92 (diff) | |
download | lombok-d42a6fe40eacd8aca9697adda0eed61f66ab7d6c.tar.gz lombok-d42a6fe40eacd8aca9697adda0eed61f66ab7d6c.tar.bz2 lombok-d42a6fe40eacd8aca9697adda0eed61f66ab7d6c.zip |
[fixes #2741] Handle inner method invocations first
Diffstat (limited to 'test/transform/resource/before/ExtensionMethodChain.java')
-rw-r--r-- | test/transform/resource/before/ExtensionMethodChain.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/transform/resource/before/ExtensionMethodChain.java b/test/transform/resource/before/ExtensionMethodChain.java new file mode 100644 index 00000000..f7960ed4 --- /dev/null +++ b/test/transform/resource/before/ExtensionMethodChain.java @@ -0,0 +1,17 @@ +import java.util.Arrays; +import java.util.List; +import lombok.experimental.ExtensionMethod; + +@ExtensionMethod(ExtensionMethodChain.Extensions.class) +class ExtensionMethodChain { + + public void test() { + "1".intValue().intValue(); + } + + static class Extensions { + public static Integer intValue(String s) { + return Integer.valueOf(s); + } + } +} |