public static @Nullable ASTNode getLastChild(ASTNode element) {
    ASTNode child = element;
    while (child != null) {
      element = child;
      child = element.getLastChildNode();
    }
    return element;
  }
public static @Nullable ASTNode getLastChild(ASTNode element)