void (boolean expectedDuplicatedHighlighting, boolean isFirPlugin, Runnable runnable) { if (!expectedDuplicatedHighlighting) { runnable.run(); return; } try { ExpectedHighlightingData.expectedDuplicatedHighlighting(runnable); } catch (IllegalStateException e) { if (isFirPlugin) { runnable.run(); } else { throw e; } } }