Auto detect genAccessor annotation to use.