equal
deleted
inserted
replaced
32 * @author John Rose, JSR 292 EG |
32 * @author John Rose, JSR 292 EG |
33 */ |
33 */ |
34 /*non-public*/ class MethodHandleStatics { |
34 /*non-public*/ class MethodHandleStatics { |
35 |
35 |
36 private MethodHandleStatics() { } // do not instantiate |
36 private MethodHandleStatics() { } // do not instantiate |
|
37 |
|
38 static final boolean DEBUG_METHOD_HANDLE_NAMES = Boolean.getBoolean("java.lang.invoke.MethodHandle.DEBUG_NAMES"); |
37 |
39 |
38 /*non-public*/ static String getNameString(MethodHandle target, MethodType type) { |
40 /*non-public*/ static String getNameString(MethodHandle target, MethodType type) { |
39 if (type == null) |
41 if (type == null) |
40 type = target.type(); |
42 type = target.type(); |
41 MemberName name = null; |
43 MemberName name = null; |