void (UsageInfo @NotNull [] usages) { super.performRefactoring(usages); final PsiElementFactory elementFactory = JavaPsiFacade.getElementFactory(method.getProject()); final PsiParameter[] parameters = method.getParameterList().getParameters(); for (int i = 0; i < getModifiers().length; i++) { final String modifier = getModifiers()[i]; final PsiModifierList modifierList = parameters[i].getModifierList(); if (modifierList != null && !Comparing.strEqual(modifier, modifierList.getText())) { final PsiModifierList newModifierList = elementFactory.createParameterFromText((modifier.isEmpty() ? "" : modifier + " ") + "type name", method).getModifierList(); if (newModifierList != null) { modifierList.replace(newModifierList); } } } }