code: public static Class getPrimitiveWrapperClassType(String name) {
          if ("string".equals(name)) {
              return String.class;
          } else if ("boolean".equals(name)) {
              return Boolean.class;
          } else if ("integer".equals(name)) {
              return Integer.class;
          } else if ("number".equals(name)) {
              return Float.class;
          }
  
          return null;
      }
docs: Gets the JSon schema primitive type.
  
  @param name the json type
  @return the primitive Java Class type