public String getHintText(@NotNull Inlay inlay) {
    EditorCustomElementRenderer renderer = inlay.getRenderer();
    return renderer instanceof MyRenderer myRenderer ? myRenderer.getText() : null;
  }
public String getHintText(@NotNull Inlay inlay)