コード例 #1
0
 /*non-public*/ static void ensureInitialized(Object mh) {
   ((DirectMethodHandle) mh).ensureInitialized();
 }
コード例 #2
0
 /**
  * Static wrapper for DirectMethodHandle.internalMemberName. This one also forces initialization.
  */
 /*non-public*/ static Object internalMemberNameEnsureInit(Object mh) {
   DirectMethodHandle dmh = (DirectMethodHandle) mh;
   dmh.ensureInitialized();
   return dmh.member;
 }