VirtualFilePointer (PyRootTypeProvider provider, @NotNull final String url) { for (VirtualFilePointer filePointer : provider.getRoots().get(getContentEntry())) { if (Objects.equals(filePointer.getUrl(), url)) { return filePointer; } } return null; }