@Override
  protected void updateImpl(@NotNull PresentationData data) {
    final PyElement value = getValue();
    final String name = value.getName();
    final ItemPresentation presentation = value.getPresentation();
    String presentableText = name != null ? name : PyNames.UNNAMED_ELEMENT;
    Icon presentableIcon = value.getIcon(0);
    if (presentation != null) {
      final String text = presentation.getPresentableText();
      if (text != null) {
        presentableText = text;
      }
      final Icon icon = presentation.getIcon(false);
      if (icon != null) {
        presentableIcon = icon;
      }
    }
    data.setPresentableText(presentableText);
    data.setIcon(presentableIcon);
  }
@Override
  protected void updateImpl(@NotNull PresentationData data)