/*
 * The MIT License (MIT)
 * <p/>
 * Copyright (c) 2016 Vimeo
 * <p/>
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * <p/>
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 * <p/>
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
package com.vimeo.stag;

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

@Target({ElementType.FIELD, ElementType.TYPE})
public @interface GsonAdapterKey {

    String value() default "";

}

@@ -1258,90 +1258,1326 @@
 t;%0A%0A
-@Target(%7BElementType.FIELD, ElementType.TYPE%7D)%0Apublic @interface GsonAdapterKey %7B%0A
+/**%0A * Use this annotation to tell Stag that a member variable%0A * or a class should be processed.%0A * %3Cp/%3E%0A * If a member variable of%0A * a class is annotated, Stag will generate a TypeAdapter for%0A * that class.%0A * %3Cp/%3E%0A * If the class is generic, but there is a concrete%0A * class that also has annotated fields, Stag will ignore the%0A * generic class and generate a TypeAdapter for the concrete%0A * class that includes all the annotated member variables in%0A * the inheritance hierarchy.%0A * %3Cp/%3E%0A * If a class inherits from a parent%0A * class with annotated members, but has no annotated members%0A * itself, Stag will not know to generate a TypeAdapter for that%0A * child class. In that case, apply the annotation to the child%0A * class and Stag will pick it up and generate a TypeAdapter for%0A * it. In this case, the value that can be specified in the%0A * annotation will just be ignored.%0A * %3Cp/%3E%0A * See the sample code for examples of each.%0A */%0A@Target(%7BElementType.FIELD, ElementType.TYPE%7D)%0Apublic @interface GsonAdapterKey %7B%0A%0A    /**%0A     * The optional value for the JSON key%0A     * to which the member variable will be%0A     * mapped. If none is supplied, then the%0A     * name of the member variable will be%0A     * used as the key.%0A     *%0A     * @return the value for the JSON key%0A     * or empty if there is none.%0A     */
 %0A   

Document the GsonAdapterKey annotation and its specific usage