code: public SmartBinder castArg(String name, Class<?> type) {
          Signature newSig = signature().replaceArg(name, name, type);
          return new SmartBinder(this, newSig, binder.cast(newSig.type()));
      }
docs: Cast the named argument to the given type.
  
  @param name the name of the argument to cast
  @param type the type to which that argument will be cast
  @return a new SmartBinder with the cast applied