@Override
  protected void update(@NotNull PresentationData presentation) {
    @NlsSafe String name = myBlock.getDebugName();
    if (name == null) name = myBlock.getClass().getSimpleName();
    if (myBlock instanceof DataLanguageBlockWrapper wrapper) {
      name += " (" + wrapper.getOriginal().getClass().getSimpleName() + ")";
    }
    presentation.addText(name, SimpleTextAttributes.REGULAR_ATTRIBUTES);

    if (myBlock.getIndent() != null) {
      presentation.addText(" " + String.valueOf(myBlock.getIndent()).replaceAll("[<>]", " "), SimpleTextAttributes.GRAY_ATTRIBUTES);
    }
    if (myBlock.getAlignment() != null) {
      float d = 1.f * System.identityHashCode(myBlock.getAlignment()) / Integer.MAX_VALUE;
      Color color = new JBColor(Color.HSBtoRGB(d, .3f, .7f),
                                Color.HSBtoRGB(d, .3f, .8f));
      presentation
        .addText(" " + myBlock.getAlignment(), new SimpleTextAttributes(SimpleTextAttributes.STYLE_BOLD, color));
    }
    if (myBlock.getWrap() != null) {
      presentation
        .addText(" " + myBlock.getWrap(), new SimpleTextAttributes(SimpleTextAttributes.STYLE_ITALIC, PlatformColors.BLUE));
    }
  }
@Override
  protected void update(@NotNull PresentationData presentation)