code: private String annotationStringValue(Annotation a)
      {
          java.lang.reflect.Method valueMethod = null;
          try {
              valueMethod = a.annotationType().getMethod("value", new Class[0]);
          } catch (NoSuchMethodException e) {
              LOG.trace("No value method on %s, just using \"true\"", a.annotationType());
          }
  
          if (valueMethod != null)
          {
              Object result;
              try {
                  result = valueMethod.invoke(a);
              } catch (IllegalAccessException | InvocationTargetException e) {
                  throw Throwables.propagate(e);
              }
  
              if (result.getClass().isArray()) {
                  return ArrayUtils.toString(result);
              }
              return Objects.toString(result);
          }
  
          return "true";
      }
docs: Return the annotation's <code>value()</code> as a String if present, else
  the literal "true".