/**
* Return the annotations present by type. Repeated annotations are taken
* into account
*/
public static List<AnnotationNode> getAnnotationsByType(List<AnnotationNode> annotations,
Class<? extends Annotation> annotation) {
Repeatable repeatable = annotation.getAnnotation(Repeatable.class);
return getAnnotationsByType(annotations, Type.getInternalName(annotation),
repeatable != null ? Type.getInternalName(repeatable.value()) : null);
}
AsmUtil.java 文件源码
java
阅读 37
收藏 0
点赞 0
评论 0
项目:rise
作者:
评论列表
文章目录