private Collection<Annotation> requiredMetaannotations(
Collection<Annotation> annos) {
Set<Annotation> results = new HashSet<Annotation>();
for (Annotation a : annos) {
String aName = a.def.name;
if (aName.equals(Retention.class.getCanonicalName())
|| aName.equals(Target.class.getCanonicalName())) {
results.add(a);
}
}
return results;
}
IndexFileWriter.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:annotation-tools
作者:
评论列表
文章目录