void (@NotNull String moduleName, String @NotNull ... sourcePaths) { for (String sourcePath : sourcePaths) { SourceFolder sourceFolder = findSource(moduleName, sourcePath); assertNotNull("Source folder " + sourcePath + " not found in module " + moduleName, sourceFolder); } }