jdk/src/share/classes/java/lang/invoke/MethodHandleStatics.java
changeset 9731 d0f7a3e441c4
parent 9646 5ebbe5ab084f
child 9780 6fc3b49cfee4
equal deleted inserted replaced
9730:e4b334d47f4b 9731:d0f7a3e441c4
    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;