List<Path> (@Nullable VirtualFile virtualFile, @Nullable Module module, boolean includeModuleOutput) { List<Path> result = new ArrayList<>(); processClassPathItems(virtualFile, module, file -> { if (file != null && file.isValid()) { Path path = file.getFileSystem().getNioPath(file); if (path != null) { result.add(path); } } }, includeModuleOutput); return result; }