List<VirtualFile> (@NotNull Set<? extends JpsModuleSourceRootType<?>> rootTypes) { List<VirtualFile> result = new SmartList<>(); for (ContentEntry contentEntry : getContent()) { final List<SourceFolder> sourceFolders = contentEntry.getSourceFolders(rootTypes); for (SourceFolder sourceFolder : sourceFolders) { final VirtualFile file = sourceFolder.getFile(); if (file != null) { result.add(file); } } } return result; }