Maybe I'm not seeing the forest for the trees but is there a way to use a String resource to provide a value to a annotation field. What I would like is something like so
@Rest(rootUrl=@StringRes(R.string.root_url), converters=MappingJackson2HttpMessageConverter.class)
public interface MyRestService extends RestClientErrorHandling {...
The rootUrl value in the @Rest annotation should get the value from the String resource R.string.root_url.
Any direction is much appreciated.