boolean (PsiModifierListOwner owner, AnnotationProvider p, Project project) { PsiAnnotation annotation = AnnotationUtil.findAnnotation(owner, ArrayUtil .prepend(p.getName(owner.getProject()), p.getAnnotationsToRemove(project))); return annotation != null && !AnnotationUtil.isInferredAnnotation(annotation); }