boolean (@NotNull Project project, Editor editor, PsiFile file) { if (myTargetMethod.isValid() && myExpressions.length > myTargetMethod.getParameterList().getParametersCount()) { if (super.isAvailable(project, editor, file)) { final ArrayList<ParameterInfoImpl> result = new ArrayList<>(); if (super.findNewParamsPlace(myExpressions, myTargetMethod, mySubstitutor, new StringBuilder(), new HashSet<>(), myTargetMethod.getParameterList().getParameters(), result)) { if (myNewParametersInfo.length != result.size()) return true; for (int i = 0, size = result.size(); i < size; i++) { ParameterInfoImpl info = result.get(i); info.setName(myNewParametersInfo[i].getName()); if (!myNewParametersInfo[i].equals(info)) return true; } } } } return false; }