LocalQuickFix (NullableNotNullManager nullableManager, PsiModifierListOwner modifierListOwner) { final PsiAnnotation annotation = AnnotationUtil.findAnnotation(modifierListOwner, nullableManager.getNotNulls()); if (annotation != null) { final PsiJavaCodeReferenceElement referenceElement = annotation.getNameReferenceElement(); if (referenceElement != null) { JavaResolveResult resolveResult = referenceElement.advancedResolve(false); if (resolveResult.getElement() != null && resolveResult.isValidResult() && !nullableManager.getDefaultNotNull().equals(annotation.getQualifiedName())) { return new ChangeNullableDefaultsFix(annotation.getQualifiedName(), null, nullableManager); } } } return null; }