code: public static Class<?>[] boxPrimitives(Class<?>[] types) {
          for (int i = 0; i < types.length; ++i) {
              types[i] = boxPrimitive(types[i]);
          }
          return types;
      }
docs: Boxes primitive types.
  
  @param types an array of primitive types to box
  @return an array of boxed types