boolean (@NotNull Ref<UsageInfo[]> refUsages) { final MultiMap<PsiElement, String> conflicts = new MultiMap<>(); final PsiTypeParameter[] parameters = myClass.getTypeParameters(); final Map<String, TypeParameterInfo> infos = new HashMap<>(); for (TypeParameterInfo info : myNewSignature) { final String newName = info.getName(parameters); TypeParameterInfo existing = infos.get(newName); if (existing != null) { String classDescription = RefactoringUIUtil.getDescription(myClass, false); String message = JavaRefactoringBundle.message("changeClassSignature.already.contains.type.parameter", classDescription, newName); conflicts.putValue(myClass, message); } infos.put(newName, info); } return showConflicts(conflicts, refUsages.get()); }