void (@NotNull List<? extends DiffTool> toolOrder) { List<String> savedOrder = new ArrayList<>(); for (DiffTool tool : toolOrder) { savedOrder.add(tool.getClass().getCanonicalName()); } getSettings().setDiffToolsOrder(savedOrder); }