protected static void installGroupingSupport(@NotNull ChangesTree tree,
                                               @NotNull ChangesGroupingSupport groupingSupport,
                                               @NotNull @NonNls String propertyName,
                                               @NonNls List<String> defaultGroupingKeys) {
    installGroupingSupport(tree, groupingSupport,
                           () -> {
                             List<String> storedList = PropertiesComponent.getInstance(tree.getProject()).getList(propertyName);
                             return Objects.requireNonNullElse(storedList, defaultGroupingKeys);
                           },
                           newValue -> PropertiesComponent.getInstance(tree.getProject()).setList(propertyName, newValue));
  }
protected static void installGroupingSupport(@NotNull ChangesTree tree,
                                               @NotNull ChangesGroupingSupport groupingSupport,
                                               @NotNull @NonNls String propertyName,
                                               @NonNls List<String> defaultGroupingKeys)