{"action":"created","issue":{"url":"https://api.github.com/repos/sbrannen/spring-composed/issues/14","labels_url":"https://api.github.com/repos/sbrannen/spring-composed/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/sbrannen/spring-composed/issues/14/comments","events_url":"https://api.github.com/repos/sbrannen/spring-composed/issues/14/events","html_url":"https://github.com/sbrannen/spring-composed/issues/14","id":130124855,"number":14,"title":"allow composition of anotation member values","user":{"login":"cforce","id":393286,"avatar_url":"https://avatars.githubusercontent.com/u/393286?v=3","gravatar_id":"","url":"https://api.github.com/users/cforce","html_url":"https://github.com/cforce","followers_url":"https://api.github.com/users/cforce/followers","following_url":"https://api.github.com/users/cforce/following{/other_user}","gists_url":"https://api.github.com/users/cforce/gists{/gist_id}","starred_url":"https://api.github.com/users/cforce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cforce/subscriptions","organizations_url":"https://api.github.com/users/cforce/orgs","repos_url":"https://api.github.com/users/cforce/repos","events_url":"https://api.github.com/users/cforce/events{/privacy}","received_events_url":"https://api.github.com/users/cforce/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-31T13:00:09Z","updated_at":"2016-01-31T14:33:36Z","closed_at":"2016-01-31T14:33:36Z","body":"e.g create an anotation A which inherits from RequestMapping.\r\nAnotation A has member String apiVersion() and apiDomain().\r\nAnotation A then overwrites (via aliasing) \"path\" with (default) value = apiDomain()+\"/\"+apiVersion()+\"/\"+path().\r\nI am not sure if this is even possible by using aliasing."},"comment":{"url":"https://api.github.com/repos/sbrannen/spring-composed/issues/comments/177512802","html_url":"https://github.com/sbrannen/spring-composed/issues/14#issuecomment-177512802","issue_url":"https://api.github.com/repos/sbrannen/spring-composed/issues/14","id":177512802,"user":{"login":"sbrannen","id":104798,"avatar_url":"https://avatars.githubusercontent.com/u/104798?v=3","gravatar_id":"","url":"https://api.github.com/users/sbrannen","html_url":"https://github.com/sbrannen","followers_url":"https://api.github.com/users/sbrannen/followers","following_url":"https://api.github.com/users/sbrannen/following{/other_user}","gists_url":"https://api.github.com/users/sbrannen/gists{/gist_id}","starred_url":"https://api.github.com/users/sbrannen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbrannen/subscriptions","organizations_url":"https://api.github.com/users/sbrannen/orgs","repos_url":"https://api.github.com/users/sbrannen/repos","events_url":"https://api.github.com/users/sbrannen/events{/privacy}","received_events_url":"https://api.github.com/users/sbrannen/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T14:33:36Z","updated_at":"2016-01-31T14:33:36Z","body":"No, such functionality is not possible via aliasing since annotation attributes must be constant values.\r\n\r\nSuch a feature would require specific code within the core annotation processing algorithms in Spring and is beyond the scope of _Spring Composed_.\r\n\r\nI am therefore closing this issue."}}