private void buildDepsRecursively(final T sourceElement,
                                    @Nullable final Set<? extends T> members,
                                    HashSet<T> dependencies,
                                    HashMap<T, HashSet<T>> dependenciesToDependentMap) {
    if (members != null) {
      for (T member : members) {
        if (!dependencies.contains(member)) {
          addDependency(member, sourceElement, dependencies, dependenciesToDependentMap);
          if (!mySelectedAbstract.contains(member)) {
            buildDepsRecursively(member,
                                 myMemberDependenciesStorage.getMemberDependencies(member),
                                 dependencies,
                                 dependenciesToDependentMap);
          }
        }
      }
    }
  }
private void buildDepsRecursively(final T sourceElement,
                                    @Nullable final Set<? extends T> members,
                                    HashSet<T> dependencies,
                                    HashMap<T, HashSet<T>> dependenciesToDependentMap)