void (@NotNull JVMElementFactory factory, @NotNull JavaCodeStyleManager codeStyleManager, @NotNull PsiParameterList sourceParameterList, @NotNull PsiParameterList targetParameterList, @NotNull PsiSubstitutor substitutor, PsiElement target) { final PsiParameter[] parameters = sourceParameterList.getParameters(); final PsiParameter[] newParameters = overriddenParameters(parameters, factory, codeStyleManager, substitutor, target); for (int i = 0; i < newParameters.length; i++) { final PsiParameter newParameter = newParameters[i]; copyOrReplaceModifierList(parameters[i], target, newParameter); targetParameterList.add(newParameter); } }