PersistentList<SyntaxHighlighterFactory> (@NotNull String stringKey, @NotNull Language key) { PersistentList<SyntaxHighlighterFactory> fromEp = super.buildExtensions(stringKey, key); if (!fromEp.isEmpty()) { return fromEp; } SyntaxHighlighter highlighter = LanguageSyntaxHighlighters.INSTANCE.forLanguage(key); if (highlighter != null) { checkAddEPListener(); return persistentListOf(new SingleLazyInstanceSyntaxHighlighterFactory() { @Override protected @NotNull SyntaxHighlighter createHighlighter() { return highlighter; } }); } return fromEp; }