Exemplo n.º 1
0
 public static MethodHandle identity(Class<?> type) {
   if (!type.isPrimitive())
     // Reference identity has been moved into MethodHandles:
     return MethodHandles.identity(type);
   return identity(Wrapper.findPrimitiveType(type));
 }