@Nullable
  ErrorStripe getStripe(Object object, boolean expanded) {
    if (expanded && object instanceof Node) {
      return null;
    }
    if (object instanceof PresentableNodeDescriptor<?> node) {
      TextAttributesKey key = node.getPresentation().getTextAttributesKey();
      TextAttributes attributes = key == null ? null : EditorColorsManager.getInstance().getSchemeForCurrentUITheme().getAttributes(key);
      Color color = attributes == null ? null : attributes.getErrorStripeColor();
      if (color != null) {
        return ErrorStripe.create(color, 1);
      }
    }
    return null;
  }
@Nullable
  ErrorStripe getStripe(Object object, boolean expanded)