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/after-ecj/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/after-ecj/ExtensionMethodChain.java')
-rw-r--r-- | test/transform/resource/after-ecj/ExtensionMethodChain.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/ExtensionMethodChain.java b/test/transform/resource/after-ecj/ExtensionMethodChain.java new file mode 100644 index 00000000..8eda4bf8 --- /dev/null +++ b/test/transform/resource/after-ecj/ExtensionMethodChain.java @@ -0,0 +1,19 @@ +import java.util.Arrays; +import java.util.List; +import lombok.experimental.ExtensionMethod; +@ExtensionMethod(ExtensionMethodChain.Extensions.class) class ExtensionMethodChain { + static class Extensions { + Extensions() { + super(); + } + public static Integer intValue(String s) { + return Integer.valueOf(s); + } + } + ExtensionMethodChain() { + super(); + } + public void test() { + ExtensionMethodChain.Extensions.intValue("1").intValue(); + } +}
\ No newline at end of file |