PySkeletonsNode (@NotNull Project project, @NotNull Sdk sdk, ViewSettings settings) { final VirtualFile skeletonsVirtualFile = PythonSdkUtil.findSkeletonsDir(sdk); if (skeletonsVirtualFile != null) { final PsiDirectory skeletonsDirectory = PsiManager.getInstance(project).findDirectory(skeletonsVirtualFile); if (skeletonsDirectory != null) { return new PySkeletonsNode(project, skeletonsDirectory, settings); } } return null; }