public static boolean isPrimitiveWrapper(Class type) {
        return (
         // (type == Boolean.class) ||
         (type == Integer.class) ||
         (type == Long.class) ||
         // (type == Short.class) ||
         (type == Float.class) ||
         (type == Double.class)); // ||
         //(type == Byte.class) ||
         //(type == Character.class));
    }