List<PsiAnnotation> (@NotNull PsiClass aClass) { if (aClass.getConstructors().length > 0) { return null; } List<AnnotationData> result = collectDefaultConstructorExternalAnnotations(aClass); return ContainerUtil.map(result, data -> data.getAnnotation(this)); }