protected @NotNull List<? extends VirtualFile> collectContentRoots(@Nullable Module module) {
    final List<VirtualFile> roots = new ArrayList<>();
    ContainerUtil.addAll(roots, module != null ?
                                ModuleRootManager.getInstance(module).getContentRoots() :
                                ProjectRootManager.getInstance(myProject).getContentRoots());
    return roots;
  }
protected @NotNull List<? extends VirtualFile> collectContentRoots(@Nullable Module module)