code: public static <T> T populateLinks(RiakLinks links, T domainObject)
      {
          return AnnotationHelper.getInstance().setLinks(links, domainObject);
      }
docs: Attempts to populate a domain object with riak links by looking for a
  {@literal @RiakLinks} annotated member.
  
  @param <T> the type of the domain object
  @param links a collection of RiakLink objects
  @param domainObject the domain object
  @return the domain object