Set<VirtualFile> (Module module, String rootPackageVMName) { Set<VirtualFile> result = new HashSet<>(); for (SourceFolder folder : getSourceFolders(module)) { final VirtualFile file = folder.getFile(); if (file == null) continue; final String prefix = AnalysisUtils.fqnToInternalName(folder.getPackagePrefix()); final VirtualFile relativeSrcRoot = file.findFileByRelativePath(StringUtil.trimStart(rootPackageVMName, prefix)); if (relativeSrcRoot == null) continue; result.add(relativeSrcRoot); } return result; }