ModCommand (PsiLocalVariable variable, PsiReferenceExpression refExpr, Map<PsiElement, PsiVariable> conflicts) { List<ModCommandAction> actions = List.of( new InlineLocalStep(variable, refExpr, InlineMode.HIGHLIGHT_CONFLICTS, conflicts.keySet()), new InlineLocalStep(variable, refExpr, InlineMode.ASK, List.of())); return new ModChooseAction(JavaRefactoringBundle.message("inline.warning.variables.used.in.initializer.are.updated"), actions); }