processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java
private JavaWriter emitAnnotationValue(Object value) throws IOException {
    if (value instanceof Object[]) {
      out.write("{");
      boolean firstValue = true;
      scopes.push(Scope.ANNOTATION_ARRAY_VALUE);
      for (Object o : ((Object[]) value)) {
        if (firstValue) {
          firstValue = false;
          out.write("\n");
        } else {
          out.write(",\n");
        }
        indent();
        out.write(o.toString());
      }
      popScope(Scope.ANNOTATION_ARRAY_VALUE);
      out.write("\n");
      indent();
      out.write("}");
    } else {
      out.write(value.toString());
    }
    return this;
  }
private JavaWriter emitAnnotationValue(Object value) throws IOException {
    if (value instanceof Object[]) {
      out.write("{");
      boolean firstValue = true;
      scopes.push(Scope.ANNOTATION_ARRAY_VALUE);
      for (Object o : ((Object[]) value)) {
        if (firstValue) {
          firstValue = false;
          out.write("\n");
        } else {
          out.write(",\n");
        }
        indent();
        out.write(o.toString());
      }
      popScope(Scope.ANNOTATION_ARRAY_VALUE);
      out.write("\n");
      indent();
      out.write("}");
    } else {
      out.write(value.toString());
    }
    return this;
  }
private JavaWriter emitAnnotationValue ( Object value ) throws IOException { if ( value instanceof Object [ ] ) { out . write ( "{" ) ; boolean firstValue = true ; scopes . push ( Scope . ANNOTATION_ARRAY_VALUE ) ; for ( Object o : ( ( Object [ ] ) value ) ) { if ( firstValue ) { firstValue = false ; out . write ( "\n" ) ; } else { out . write ( ",\n" ) ; } indent ( ) ; out . write ( o . toString ( ) ) ; } popScope ( Scope . ANNOTATION_ARRAY_VALUE ) ; out . write ( "\n" ) ; indent ( ) ; out . write ( "}" ) ; } else { out . write ( value . toString ( ) ) ; } return this ; }
Writes a single annotation value. If the value is an array, each element in the array will be
written to its own line.
Writes a single annotation value . If the value is an array each element in the array will be written to its own line .