boolean (@NotNull RangeHighlighter highlighter, @NotNull ClassLoader pluginClassLoader) { CustomHighlighterRenderer renderer = highlighter.getCustomRenderer(); if (renderer != null && renderer.getClass().getClassLoader() == pluginClassLoader) { return true; } HighlightInfo info = HighlightInfo.fromRangeHighlighter(highlighter); if (info != null) { IntentionAction quickFixFromPlugin = info.findRegisteredQuickFix((descriptor, range) -> { IntentionAction intentionAction = IntentionActionDelegate.unwrap(descriptor.getAction()); if (intentionAction.getClass().getClassLoader() == pluginClassLoader) { return intentionAction; } LocalQuickFix fix = QuickFixWrapper.unwrap(intentionAction); if (fix != null && fix.getClass().getClassLoader() == pluginClassLoader) { return intentionAction; } return null; }); if (quickFixFromPlugin != null) return true; } LineMarkerInfo<?> lmInfo = LineMarkersUtil.getLineMarkerInfo(highlighter); return lmInfo != null && lmInfo.getClass().getClassLoader() == pluginClassLoader; }