private static @NotNull Set<LibraryPathType> getRequiredComponentTypes(boolean sourceResolved, boolean docResolved) {
    Set<LibraryPathType> requiredComponentTypes = EnumSet.noneOf(LibraryPathType.class);
    if (!sourceResolved) {
      requiredComponentTypes.add(LibraryPathType.SOURCE);
    }
    if (!docResolved) {
      requiredComponentTypes.add(LibraryPathType.DOC);
    }
    return requiredComponentTypes;
  }
private static @NotNull Set<LibraryPathType> getRequiredComponentTypes(boolean sourceResolved, boolean docResolved)