boolean (@NotNull PsiClass aClass) { List<PsiAnnotation> externalDeprecated = ExternalAnnotationsManager .getInstance(aClass.getProject()) .findDefaultConstructorExternalAnnotations(aClass, CommonClassNames.JAVA_LANG_DEPRECATED); return externalDeprecated != null && ContainerUtil.exists(externalDeprecated, annotation -> isForRemovalAttributeSet(annotation) == myForRemoval); }