docs: private void checkType(FieldType type, Field field) {
          Class<?> cls = field.getType();
  
          if (type == FieldType.OBJECT || type == FieldType.ENUM) {
              return;
          }
  
          String javaType = type.getJavaType();
          if (Integer.class.getSimpleName().equals(javaType)) {
              if (cls.getSimpleName().equals("int") || Integer.class.getSimpleName().equals(cls.getSimpleName())) {
                  return;
              }
              throw new IllegalArgumentException(getMismatchTypeErroMessage(type, field));
          }
          if (!javaType.equalsIgnoreCase(cls.getSimpleName())) {
              throw new IllegalArgumentException(getMismatchTypeErroMessage(type, field));
          }
      }