basho/riak-java-client — pull request #199 by guidomedina (2013-01-19 13:48:27+00:00)
Title: Enable @RiakIndex annotation at POJO methods

Enables @RiakIndex annotation support for methods where return types are String, Integer, Long or a parametrized Set of any of those. This support avoid having a pseudo property just to store an index value(s) inside the Object, for most cases indexes are meant to be calculated values obtained via methods and not at properties, specially if they depend on the real properties of such POJO.