public StdTypeResolverBuilder init(JsonTypeInfo.Id idType, TypeIdResolver idRes)
{
// sanity checks
if (idType == null) {
throw new IllegalArgumentException("idType can not be null");
}
_idType = idType;
_customIdResolver = idRes;
// Let's also initialize property name as per idType default
_typeProperty = idType.getDefaultPropertyName();
return this;
}
StdTypeResolverBuilder.java 文件源码
java
阅读 21
收藏 0
点赞 0
评论 0
项目:RHome
作者:
评论列表
文章目录