diff --git a/java/java-impl/src/com/intellij/refactoring/typeMigration/ui/TypeMigrationDialog.java b/java/java-impl/src/com/intellij/refactoring/typeMigration/ui/TypeMigrationDialog.java index 6ffaf333001d..3ba66bb0590e 100644 --- a/java/java-impl/src/com/intellij/refactoring/typeMigration/ui/TypeMigrationDialog.java +++ b/java/java-impl/src/com/intellij/refactoring/typeMigration/ui/TypeMigrationDialog.java @@ -257,6 +257,10 @@ public class TypeMigrationDialog extends RefactoringDialog { return "type of variable " + ((PsiLocalVariable)element).getName(); } + if (element instanceof PsiReferenceParameterList) { + return "class type arguments "; + } + if (element instanceof PsiParameter) { final PsiParameter param = (PsiParameter)element; String result = "type of parameter " + param.getName();