void (MultiMap<PsiElement, String> conflicts) { Set<String> usedNames = new HashSet<>(); for (VariableData data : myInputVariables) { if (data.passAsParameter && !usedNames.add(data.name)) { conflicts.putValue(null, JavaRefactoringBundle.message("extract.method.conflict.parameter", data.name)); } } }