protected static @Nullable PsiElement firstNonWhiteElement(int offset, @NotNull PsiFile file, boolean lookRight) {
    ASTNode leafElement = file.getNode().findLeafElementAt(offset);
    return leafElement == null ? null : firstNonWhiteElement(leafElement.getPsi(), lookRight);
  }
protected static @Nullable PsiElement firstNonWhiteElement(int offset, @NotNull PsiFile file, boolean lookRight)