docs: static int getParameterSQLTypeNumber(Class c) {
  
          String name;
          int    type;
  
          if (c == null) {
              throw Error.runtimeError(ErrorCode.U_S0500, "Types");
          }
  
          if (Void.TYPE.equals(c)) {
              return Types.SQL_ALL_TYPES;
          }
  
          name = c.getName();
          type = javaTypeNumbers.get(name, Integer.MIN_VALUE);
  
          if (type == Integer.MIN_VALUE) {
  
              // byte[] is already covered as BINARY in typeAliases
              if (c.isArray()) {
                  while (c.isArray()) {
                      c = c.getComponentType();
                  }
  
                  if (c.isPrimitive()
                          || java.io.Serializable.class.isAssignableFrom(c)) {
                      type = OTHER;
                  }
              } else if (java.io.Serializable.class.isAssignableFrom(c)) {
                  type = OTHER;
              }
          }
  
          if (type == Integer.MIN_VALUE) {
              throw Error.error(ErrorCode.X_42561);
          }
  
          return type;
      }