code: public static boolean isBoxedType(Class<?> primitive, Class<?> boxed) {
          return (primitive.equals(boolean.class) && boxed.equals(Boolean.class)) ||
                 (primitive.equals(byte.class) && boxed.equals(Byte.class)) ||
                 (primitive.equals(char.class) && boxed.equals(Character.class)) ||
                 (primitive.equals(double.class) && boxed.equals(Double.class)) ||
                 (primitive.equals(float.class) && boxed.equals(Float.class)) ||
                 (primitive.equals(int.class) && boxed.equals(Integer.class)) ||
                 (primitive.equals(long.class) && boxed.equals(Long.class)) ||
                 (primitive.equals(short.class) && boxed.equals(Short.class)) ||
                 (primitive.equals(void.class) && boxed.equals(Void.class));
      }
docs: Determines if the primitive type is boxed as the boxed type
  @param primitive the primitive type to check if boxed is the boxed type
  @param boxed the possible boxed type of the primitive
  @return true if boxed is the boxed type of primitive, false otherwise.