int (@NotNull List<? extends PsiLanguageInjectionHost.Shred> places) { PsiLanguageInjectionHost.Shred shred = places.get(0); PsiLanguageInjectionHost host = shred.getHost(); assert host != null; return shred.getRangeInsideHost().getStartOffset() + host.getTextRange().getStartOffset(); }