@Override
  public int getEndOffset(@NotNull PsiElement element) {
    return (int)(myElementToOffsetMap.getOrDefault(element, -1L) >>> 32);
  }
@Override
  public int getEndOffset(@NotNull PsiElement element)