add example for resolver annotation