@Override
  public @Nullable QuickFix<?> findQuickFixes(final @NotNull CommonProblemDescriptor descriptor,
                                              RefEntity entity,
                                              String hint) {
    if (entity instanceof RefElement) {
      if (DELETE.equals(hint)) {
        return new PermanentDeleteFix((RefElement)entity);
      }
      if (COMMENT.equals(hint)) {
        return new CommentOutFix((RefElement)entity);
      }
      if (entity instanceof RefParameter) {
        return super.findQuickFixes(descriptor, entity, hint);
      }
    }
    return null;
  }
@Override
  public @Nullable QuickFix<?> findQuickFixes(final @NotNull CommonProblemDescriptor descriptor,
                                              RefEntity entity,
                                              String hint)