code: public static Class<?> getRealType(JavaType type) {
          Assert.notNull(type, "type不能为null");
          if (type instanceof BaseType) {
              log.debug("参数不是泛型的");
              return ((BaseType) type).getType();
          } else {
              log.debug("参数是泛型的");
              JavaType parent = ((GenericType) type).getParent();
              JavaType child = ((GenericType) type).getChild();
              return parent == null ? getRealType(child) : getRealType(parent);
          }
      }
docs: 从JavaType中抽取真实的基类
  
  @param type 指定的JavaType
  @return 该指定JavaType对应的基类