void (@NotNull InspectionProfileEntry tool, @NotNull PsiElement element) { RefElement refElement = getRefManager().getReference(element); if (refElement == null) return; Tools tools = getTools().get(tool.getShortName()); if (tools != null) { for (ScopeToolState state : tools.getTools()) { InspectionToolWrapper<?, ?> toolWrapper = state.getTool(); InspectionToolResultExporter presentation = getPresentationOrNull(toolWrapper); if (presentation != null) { resolveElementRecursively(presentation, refElement); } } } }