void (final Project project, final Editor editor, final TypeMigrationRules rules, final PsiElement root, final PsiType migrationType, final boolean optimizeImports, boolean allowDependentRoots) { runHighlightingTypeMigration(project, editor, rules, new PsiElement[] {root}, Functions.constant(migrationType), optimizeImports, allowDependentRoots); }