/*
 * Copyright (C) 2012 Google, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
package com.google.auto.value;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.SOURCE)
@Target(ElementType.TYPE)
public @interface AutoValue {

  /**
   * Specifies that AutoValue should generate an implementation of the annotated class or interface,
   * to serve as a <i>builder</i> for the value-type class it is nested within. As a simple example,
   * here is an alternative way to write the {@code Person} class mentioned in the {@link AutoValue}
   * example: <pre>
   *
   *   &#64;AutoValue
   *   abstract class Person {
   *     static Builder builder() {
   *       return new AutoValue_Person.Builder();
   *     }
   *
   *     abstract String name();
   *     abstract int id();
   *
   *     &#64;AutoValue.Builder
   *     interface Builder {
   *       Builder name(String x);
   *       Builder id(int x);
   *       Person build();
   *     }
   *   }</pre>
   *
   * @author Éamonn McManus
   */
  @Retention(RetentionPolicy.SOURCE)
  @Target(ElementType.TYPE)
  public @interface Builder {}
}

@@ -777,16 +777,731 @@
 arget;%0A%0A
+/**%0A * Specifies that %3Ca href=%22https://github.com/google/auto/tree/master/value%22%3EAutoValue%3C/a%3E should%0A * generate an implementation class for the annotated abstract class, implementing the standard%0A * %7B@link Object%7D methods like %7B@link Object#equals equals%7D to have conventional value semantics. A%0A * simple example: %3Cpre%3E%0A *%0A *   &#64;AutoValue%0A *   abstract class Person %7B%0A *     static Person create(String name, int id) %7B%0A *       return new AutoValue_Person(name, id);%0A *     %7D%0A *%0A *     abstract String name();%0A *     abstract int id();%0A *   %7D%3C/pre%3E%0A *%0A * @see %3Ca href=%22https://github.com/google/auto/tree/master/value%22%3EAutoValue User's Guide%3C/a%3E%0A *%0A * @author %C3%89amonn McManus%0A * @author Kevin Bourrillion%0A */%0A
 @Retenti

Remove the [] link from the AutoValue javadoc, at least until []has been fixed. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123015689