(String[] args)
| 3 | public class MethodTypes { |
| 4 | |
| 5 | public static void main(String[] args) { |
| 6 | MethodType mt0arg = MethodType.methodType(String.class); |
| 7 | MethodType mt1arg = MethodType.methodType(String.class, Object.class); |
| 8 | MethodType mtmt = MethodType.methodType(Object.class, mt1arg); |
| 9 | use(mt0arg, mt1arg, mtmt); |
| 10 | } |
| 11 | |
| 12 | static void use(Object... objects) { |
| 13 | } |