List<VirtualFile> (@NotNull @NonNls String mockSdkPath, @NotNull LanguageLevel level) { final var result = new ArrayList<VirtualFile>(); final var localFS = LocalFileSystem.getInstance(); ContainerUtil.addIfNotNull(result, localFS.refreshAndFindFileByIoFile(new File(mockSdkPath, "Lib"))); ContainerUtil.addIfNotNull(result, localFS.refreshAndFindFileByIoFile(new File(mockSdkPath, PythonSdkUtil.SKELETON_DIR_NAME))); ContainerUtil.addIfNotNull(result, PyUserSkeletonsUtil.getUserSkeletonsDirectory()); result.addAll(PyTypeShed.INSTANCE.findRootsForLanguageLevel(level)); return result; }