PsiLanguageInjectionHost (@NotNull FileViewProvider injectedProvider) { //noinspection removal if (!(injectedProvider instanceof InjectedFileViewProvider)) { return null; } //noinspection removal return ((InjectedFileViewProvider)injectedProvider).getShreds().getHostPointer().getElement(); }