public JavaWriter emitAnnotation(Class<? extends Annotation> annotationType, Object value)
      throws IOException {
    return emitAnnotation(type(annotationType), value);
  }
public JavaWriter emitAnnotation(Class<? extends Annotation> annotationType, Object value)
      throws IOException {
    return emitAnnotation(type(annotationType), value);
  }
public JavaWriter emitAnnotation ( Class < ? extends Annotation > annotationType , Object value ) throws IOException { return emitAnnotation ( type ( annotationType ) , value ) ; }
Annotates the next element with {@code annotationType} and a {@code value}.

@param value an object used as the default (value) parameter of the annotation. The value will
be encoded using Object.toString(); use {@link #stringLiteral} for String values. Object
arrays are written one element per line.
Annotates the next element with { @code annotationType } and a { @code value } .