private boolean isExpand(@NotNull XValueGroup group) {
    if (group.isRestoreExpansion()) {
      final String name = group.getName();
      if (StringUtil.isNotEmpty(name) && PropertiesComponent.getInstance(getTree().getProject()).isValueSet(group.getName())) {
        return PropertiesComponent.getInstance(getTree().getProject()).getBoolean(name);
      }
    }
    return group.isAutoExpand();
  }
private boolean isExpand(@NotNull XValueGroup group)