void (Collection<PsiAnnotation> result, @NotNull PsiClass psiClass, String... annotationFQNs) { PsiAnnotation psiAnnotation = PsiAnnotationSearchUtil.findAnnotation(psiClass, annotationFQNs); if (null != psiAnnotation) { result.add(psiAnnotation); } }