@Override
  public AnAction @NotNull [] getChildren(@Nullable AnActionEvent e) {
    InspectionResultsView view = getView(e);
    if (view == null || !InvokeQuickFixAction.canApplyFixes(e)) return AnAction.EMPTY_ARRAY;
    InspectionToolWrapper toolWrapper = getToolWrapper(e);
    if (toolWrapper == null) return AnAction.EMPTY_ARRAY;
    InspectionTree tree = view.getTree();
    CommonProblemDescriptor[] selectedDescriptors = tree.getSelectedDescriptors(e);
    QuickFixAction[] quickFixes = view.getProvider().getCommonQuickFixes(toolWrapper, tree,
                                                                         selectedDescriptors,
                                                                         InspectionTree.getSelectedRefElements(e));
    if (quickFixes.length != 0) return quickFixes;
    return view.getProvider().getPartialQuickFixes(toolWrapper, tree, selectedDescriptors);
  }
@Override
  public AnAction @NotNull [] getChildren(@Nullable AnActionEvent e)