Package soot.JastAddJ

Class AssertStmt

    • Field Detail

      • isDAafter_Variable_values

        protected Map isDAafter_Variable_values
      • isDUafter_Variable_values

        protected Map isDUafter_Variable_values
    • Constructor Detail

      • AssertStmt

        public AssertStmt()
      • AssertStmt

        public AssertStmt​(Expr p0,
                          Opt<Expr> p1)
    • Method Detail

      • flushCache

        public void flushCache()
        Overrides:
        flushCache in class Stmt
      • fullCopy

        public AssertStmt fullCopy()
        Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
        Overrides:
        fullCopy in class ASTNode<ASTNode>
        Returns:
        dangling copy of the subtree at this node
      • init$Children

        public void init$Children()
        Initializes the child array to the correct size. Initializes List and Opt nta children.
        Overrides:
        init$Children in class Stmt
      • numChildren

        protected int numChildren()
        Overrides:
        numChildren in class Stmt
      • mayHaveRewrite

        public boolean mayHaveRewrite()
        Overrides:
        mayHaveRewrite in class Stmt
      • setfirst

        public void setfirst​(Expr node)
        Replaces the first child.
        Parameters:
        node - The new node to replace the first child.
      • getfirst

        public Expr getfirst()
        Retrieves the first child.
        Returns:
        The current node used as the first child.
      • getfirstNoTransform

        public Expr getfirstNoTransform()
        Retrieves the first child.

        This method does not invoke AST transformations.

        Returns:
        The current node used as the first child.
      • setExprOpt

        public void setExprOpt​(Opt<Expr> opt)
        Replaces the optional node for the Expr child. This is the Opt node containing the child Expr, not the actual child!
        Parameters:
        opt - The new node to be used as the optional node for the Expr child.
      • hasExpr

        public boolean hasExpr()
        Check whether the optional Expr child exists.
        Returns:
        true if the optional Expr child exists, false if it does not.
      • getExpr

        public Expr getExpr()
        Retrieves the (optional) Expr child.
        Returns:
        The Expr child, if it exists. Returns null otherwise.
      • setExpr

        public void setExpr​(Expr node)
        Replaces the (optional) Expr child.
        Parameters:
        node - The new node to be used as the Expr child.
      • getExprOpt

        public Opt<Expr> getExprOpt()
      • getExprOptNoTransform

        public Opt<Expr> getExprOptNoTransform()
        Retrieves the optional node for child Expr. This is the Opt node containing the child Expr, not the actual child!

        This method does not invoke AST transformations.

        Returns:
        The optional node for child Expr.