void (@NotNull Module module, @NotNull List<? super VirtualFile> result) { for (ContentEntry entry : ModuleRootManager.getInstance(module).getContentEntries()) { for (SourceFolder sourceFolder : entry.getSourceFolders(JavaModuleSourceRootTypes.SOURCES)) { if (!isForGeneratedSources(sourceFolder)) { ContainerUtil.addIfNotNull(result, sourceFolder.getFile()); } } } }