protected static @Nullable ContentEntry findContentEntryForFile(VirtualFile virtualFile, PyContentEntriesEditor editor) {
    for (ContentEntry contentEntry : editor.getContentEntries()) {
      final VirtualFile file = contentEntry.getFile();
      if (file != null && VfsUtilCore.isAncestor(file, virtualFile, false)) {
        return contentEntry;
      }
    }
    return null;
  }
protected static @Nullable ContentEntry findContentEntryForFile(VirtualFile virtualFile, PyContentEntriesEditor editor)