void (@NotNull TextEditorHighlightingPassRegistrar registrar, @NotNull Project project) { boolean serializeCodeInsightPasses = ((TextEditorHighlightingPassRegistrarImpl)registrar).isSerializeCodeInsightPasses(); int[] uf = {Pass.UPDATE_FOLDING}; registrar.registerTextEditorHighlightingPass(new GeneralHighlightingPassFactory(), null, serializeCodeInsightPasses ? null : uf, false, Pass.UPDATE_ALL); }