blob: 8eda4bf89e46c2a0da680220e7a984e4a403d1d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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();
}
}
|