public static int getOffsetInElement(@NotNull PsiElement element) {
    final ElementManipulator<PsiElement> manipulator = getNotNullManipulator(element);
    return getManipulatorRange(manipulator, element).getStartOffset();
  }
public static int getOffsetInElement(@NotNull PsiElement element)