mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 12:16:49 +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,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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user