I am confronted with the following expectation
$$E_t \left[\int_t^Tg(S_s)dS_s \right]$$
Where $S_t$ is a stochastic process. How would we go about computing this quantity? If we can't do so in the general case, are there particular forms of $g$ or $S_t$ that allow us to say something intelligent about the expectation?
For example if $S_t$ has stochastic differential $dS_t=r S_t dt+\sigma S_t dW_t$ and $g$ has certain nice properties, can we make progress?