Class DVariableDeclarationStmt

    • Constructor Detail

      • DVariableDeclarationStmt

        public DVariableDeclarationStmt​(Type decType,
                                        DavaBody davaBody)
    • Method Detail

      • getDeclarations

        public List getDeclarations()
      • addLocal

        public void addLocal​(Local add)
      • removeLocal

        public void removeLocal​(Local remove)
      • getType

        public Type getType()
      • isOfType

        public boolean isOfType​(Type type)
      • fallsThrough

        public boolean fallsThrough()
        Description copied from interface: Unit
        Returns true if execution after this statement may continue at the following statement. GotoStmt will return false but IfStmt will return true.
        Specified by:
        fallsThrough in interface Unit
      • branches

        public boolean branches()
        Description copied from interface: Unit
        Returns true if execution after this statement does not necessarily continue at the following statement. GotoStmt and IfStmt will both return true.
        Specified by:
        branches in interface Unit
      • containsInvokeExpr

        public boolean containsInvokeExpr()
        Specified by:
        containsInvokeExpr in interface Stmt
      • containsArrayRef

        public boolean containsArrayRef()
        Specified by:
        containsArrayRef in interface Stmt
      • containsFieldRef

        public boolean containsFieldRef()
        Specified by:
        containsFieldRef in interface Stmt