boolean (IntroduceParameterData data, PsiMethod method, UsageInfo[] usages) { PsiManager manager = PsiManager.getInstance(data.getProject()); for (UsageInfo info : usages) { if (!(info instanceof DefaultConstructorImplicitUsageInfo) && manager.areElementsEquivalent(info.getElement(), method)) { return true; } } return false; }