private static VcsLogStructureFilter getStructureFilter(@Nullable VcsLogFilterCollection filter) {
    if (filter == null) return null;
    return filter.get(VcsLogFilterCollection.STRUCTURE_FILTER);
  }
private static VcsLogStructureFilter getStructureFilter(@Nullable VcsLogFilterCollection filter)