boolean (@NotNull Ref<UsageInfo[]> refUsages) { UsageInfo[] usagesIn = refUsages.get(); MultiMap<PsiElement, String> conflicts = new MultiMap<>(); if (!mySettings.generateDelegate()) { detectAccessibilityConflicts(usagesIn, conflicts); } final GrExpression expression = mySettings.getExpression(); if (expression != null && toSearchFor instanceof PsiMember) { final AnySupers anySupers = new AnySupers(); expression.accept(anySupers); if (anySupers.containsSupers()) { final PsiElement containingClass = PsiUtil.getFileOrClassContext(toReplaceIn); for (UsageInfo usageInfo : usagesIn) { if (!(usageInfo.getElement() instanceof PsiMethod) && !(usageInfo instanceof InternalUsageInfo)) { if (!PsiTreeUtil.isAncestor(containingClass, usageInfo.getElement(), false)) { conflicts.putValue(expression, JavaRefactoringBundle .message("parameter.initializer.contains.0.but.not.all.calls.to.method.are.in.its.class", CommonRefactoringUtil.htmlEmphasize(PsiKeyword.SUPER))); break; } } } } } //todo //for (IntroduceParameterMethodUsagesProcessor processor : IntroduceParameterMethodUsagesProcessor.EP_NAME.getExtensions()) { //processor.findConflicts(this, refUsages.get(), conflicts); //} return showConflicts(conflicts, usagesIn); }