void (@NotNull List<VariableWrapper> newElements) { final List<PsiParameter> newParameters = ContainerUtil.map(newElements, element -> (PsiParameter)element.variable()); final List<String> newParameterNames = ContainerUtil.map(newElements, VariableWrapper::getName); final boolean[] toRemove = myChangeInfo.toRemoveParm(); if (myChangeInfo.isFixFieldConflicts()) { resolveVariableVsFieldsConflicts(newParameters, newParameterNames, myParent, toRemove, myMethodBody, ParameterList.INSTANCE); } else { ChangeSignatureUtil.synchronizeList(myParent, newParameters, ParameterList.INSTANCE, toRemove); JavaCodeStyleManager.getInstance(myParent.getProject()).shortenClassReferences(myParent); } }