IndexFileWriter.java 文件源码

java
阅读 27 收藏 0 点赞 0 评论 0

项目:annotation-tools 作者:
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;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号