At the moment, there is no way to register a custom action for a
specific annotation.
However, that seems like a really useful thing. I have added that as
one of the things we would look to support in Gson 1.7.
Subscribe to the bug
http://code.google.com/p/google-gson/issues/detail?id=269
for updates on this topic.
Thanks
Inder