LocalQuickFix (PsiModifierListOwner listOwner) { if (listOwner.getManager().isInProject(listOwner) && JavaPsiFacade.getInstance(listOwner.getProject()).findClass(AnnotationUtil.NON_NLS, listOwner.getResolveScope()) == null) { return null; } return new AddAnnotationPsiFix(AnnotationUtil.NON_NLS, listOwner); }