boolean (@NotNull Place place, @NotNull DocumentWindowImpl documentWindow, @NotNull InjectedFileViewProvider viewProvider, @NotNull PsiFile psiFile) { FileDocumentManagerBase.registerDocument(documentWindow, viewProvider.getVirtualFile()); DebugUtil.performPsiModification("MultiHostRegistrar cacheEverything", () -> viewProvider.forceCachedPsi(psiFile)); SmartPsiElementPointer<PsiLanguageInjectionHost> pointer = ((ShredImpl)place.get(0)).getSmartPointer(); psiFile.putUserData(FileContextUtil.INJECTED_IN_ELEMENT, pointer); keepTreeFromChameleoningBack(psiFile); return viewProvider.setShreds(place); }