public static void setNodeGeneratedRecursively(ASTNode next, boolean value) {
    if (next == null) return;
    setNodeGenerated(next, value);
    for (ASTNode child = next.getFirstChildNode(); child != null; child = child.getTreeNext()) {
      setNodeGeneratedRecursively(child, value);
    }
  }
public static void setNodeGeneratedRecursively(ASTNode next, boolean value)