public List<Inlay<?>> getParameterHintsInRange(@NotNull Editor editor, int startOffset, int endOffset) {
    //noinspection unchecked
    return (List)editor.getInlayModel().getInlineElementsInRange(startOffset, endOffset, MyRenderer.class);
  }
public List<Inlay<?>> getParameterHintsInRange(@NotNull Editor editor, int startOffset, int endOffset)