public static JavaRefactoringFactory getInstance(Project project) {
    return (JavaRefactoringFactory)RefactoringFactory.getInstance(project);
  }
public static JavaRefactoringFactory getInstance(Project project)