@Override
    protected @Nullable Presentation getPresentation(@NotNull ActionContext context, @NotNull PsiElement element) {
      return myContext == null || !myContext.isValid() ? null :
             Presentation.of(myMessage).withPriority(PriorityAction.Priority.HIGH);
    }
@Override
    protected @Nullable Presentation getPresentation(@NotNull ActionContext context, @NotNull PsiElement element)