private Annotator getAnnotator() {
ArrayList<Annotator> annotators = new ArrayList<>();
if (config.isGsonSupport()) {
annotators.add(new GsonAnnotator());
}
if (config.isJacksonSupport()) {
annotators.add(new Jackson2Annotator());
}
CompositeAnnotator ac = new CompositeAnnotator(annotators.toArray(new Annotator[annotators.size()]));
return ac;
}
JavaWriter.java 文件源码
java
阅读 34
收藏 0
点赞 0
评论 0
项目:aml
作者:
评论列表
文章目录