void (@NotNull VirtualFile file, boolean compileTimeOnly, Set<? super VirtualFile> result) { if (!result.add(file)) return; VirtualFile[] includes = getFiles(file, compileTimeOnly); for (VirtualFile include : includes) { getAllFilesRecursively(include, compileTimeOnly, result); } }