(MethodHandles.Lookup caller, String name, MethodType type)
| 28 | } |
| 29 | |
| 30 | public static CallSite bootstrap(MethodHandles.Lookup caller, String name, MethodType type) |
| 31 | throws NoSuchMethodException, IllegalAccessException { |
| 32 | MethodType mt = MethodType.methodType(Void.TYPE, A.class); |
| 33 | MethodHandle handle = MethodHandles.lookup().findStatic(A.class, name, mt); |
| 34 | return new ConstantCallSite(handle); |
| 35 | } |
| 36 | |
| 37 | public static CallSite bootstrap2(MethodHandles.Lookup caller, String name, MethodType type) |
| 38 | throws NoSuchMethodException, IllegalAccessException { |
nothing calls this directly
no test coverage detected