InjectionResult (@NotNull PsiFile containingFile, @NotNull Project project, @NotNull PsiElement anchor, PsiElement @NotNull [] operands) { PsiDocumentManager docManager = PsiDocumentManager.getInstance(project); InjectionRegistrarImpl registrar = new InjectionRegistrarImpl(project, containingFile, anchor, docManager); InjectionResult result = null; for (ConcatenationAwareInjector concatenationInjector : EP_NAME.getExtensions(project)) { concatenationInjector.getLanguagesToInject(registrar, operands); result = registrar.getInjectedResult(); if (result != null) break; } return result; }