code: public <T> void setRiakBucketName(T obj, BinaryValue bucketName)
      {
          if (riakBucketNameSetter != null)
          {
              if (riakBucketNameSetter.getParameterTypes()[0].isArray())
              {
                  setMethodValue(riakBucketNameSetter, obj, bucketName.unsafeGetValue());
              }
              else
              {
                  setMethodValue(riakBucketNameSetter, obj, bucketName.toString());
              }
          }
          else if (riakBucketNameField != null)
          {
              if (riakBucketNameField.getType().equals(String.class))
              {
                  setFieldValue(riakBucketNameField, obj, bucketName.toString());
              }
              else
              {
                  setFieldValue(riakBucketNameField, obj, bucketName.unsafeGetValue());
              }
          }
      }
docs: TODO: charset in annotation