public static void invokeChangeSignatureOn(PsiMethod method, Project project) {
    RefactoringSupportProvider provider = LanguageRefactoringSupport.INSTANCE.forContext(method);
    ChangeSignatureHandler handler = provider != null ? provider.getChangeSignatureHandler() : null;
    if (handler != null) {
      handler.invoke(project, new PsiElement[]{method}, null);
    }
  }
public static void invokeChangeSignatureOn(PsiMethod method, Project project)