private static PsiElement findNonWhiteSpaceElement(PsiFile file, int startOffset) {
    PsiElement leaf = file.findElementAt(startOffset);
    return leaf instanceof PsiWhiteSpace ? PsiTreeUtil.skipWhitespacesForward(leaf) : leaf;
  }
private static PsiElement findNonWhiteSpaceElement(PsiFile file, int startOffset)