It's probably better if you modify JBossMetaData that adds an interceptor. This might require some transformation if interceptor-orders are used and such.
Adding an interceptor that modifies the actual type of InvocationContext will probably fail, because we use custom InvocationContext types.