Package soot.JastAddJ

Class InstanceOfExpr

    • Field Detail

      • type_computed

        protected boolean type_computed
      • type_value

        protected TypeDecl type_value
    • Constructor Detail

      • InstanceOfExpr

        public InstanceOfExpr()
      • InstanceOfExpr

        public InstanceOfExpr​(Expr p0,
                              Access p1)
    • Method Detail

      • flushCache

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

        public InstanceOfExpr 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 Expr
      • numChildren

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

        public boolean mayHaveRewrite()
        Overrides:
        mayHaveRewrite in class Expr
      • setExpr

        public void setExpr​(Expr node)
        Replaces the Expr child.
        Parameters:
        node - The new node to replace the Expr child.
      • getExpr

        public Expr getExpr()
        Retrieves the Expr child.
        Returns:
        The current node used as the Expr child.
      • getExprNoTransform

        public Expr getExprNoTransform()
        Retrieves the Expr child.

        This method does not invoke AST transformations.

        Returns:
        The current node used as the Expr child.
      • setTypeAccess

        public void setTypeAccess​(Access node)
        Replaces the TypeAccess child.
        Parameters:
        node - The new node to replace the TypeAccess child.
      • getTypeAccess

        public Access getTypeAccess()
        Retrieves the TypeAccess child.
        Returns:
        The current node used as the TypeAccess child.
      • getTypeAccessNoTransform

        public Access getTypeAccessNoTransform()
        Retrieves the TypeAccess child.

        This method does not invoke AST transformations.

        Returns:
        The current node used as the TypeAccess child.
      • isConstant

        public boolean isConstant()
        Overrides:
        isConstant in class Expr