void (@Nullable Language language, @NotNull List<? extends Trinity<PsiLanguageInjectionHost, InjectedLanguage, TextRange>> list, @NotNull PsiFile containingFile, @NotNull MultiHostRegistrar registrar) { registerInjection(language, containingFile, ContainerUtil.map(list, trinity -> new InjectionInfo(trinity.first, trinity.second, trinity.third)), registrar); }