Class TypeResolver.CastInsertionUseVisitor

    • Constructor Detail

    • Method Detail

      • createCast

        protected Local createCast​(Type useType,
                                   Stmt stmt,
                                   Local old,
                                   boolean after)
        Creates a cast at stmt of vold to the given type.
        Parameters:
        useType - the new type
        stmt - stmt
        old - the old local
        after - True to insert the cast after the statement, false to insert it before
        Returns:
        the new local
      • getCount

        public int getCount()