mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 16:15:16 +00:00
[fixes #2741] Handle inner method invocations first
This commit is contained in:
1 parent
ed4ced1a3b
commit
d42a6fe40e
4 files changed
+54
-2
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user