private @Nullable Presentation getPresentation() {
    if (myPresentation != null) return myPresentation;
    PsiElement element = getStartElement();
    if (element == null) return null;
    ActionContext context = ActionContext.from(null, element.getContainingFile())
      .withElement(element);
    return myAction.getPresentation(context);
  }
private @Nullable Presentation getPresentation()