void (@NotNull final InspectionToolWrapper<?,?> toolWrapper, HighlightDisplayLevel errorLevel, boolean groupedBySeverity, boolean isSingleInspectionRun) { InspectionTreeNode toolNode = myTree.getToolProblemsRootNode(toolWrapper, errorLevel, groupedBySeverity, isSingleInspectionRun); myProvider.appendToolNodeContent(myGlobalInspectionContext, toolWrapper, toolNode, myGlobalInspectionContext.getUIOptions().SHOW_STRUCTURE, groupedBySeverity); InspectionToolPresentation presentation = myGlobalInspectionContext.getPresentation(toolWrapper); presentation.patchToolNode(toolNode, myProvider, myGlobalInspectionContext.getUIOptions().SHOW_STRUCTURE, groupedBySeverity); registerActionShortcuts(presentation); }