Made author tags consistent across the public api.

This commit is contained in:
Inderjeet Singh 2009-04-01 17:03:31 +00:00
parent c8cb35e025
commit 149604f0be
13 changed files with 14 additions and 0 deletions

View File

@ -22,6 +22,7 @@ package com.google.gson;
* to configure a {@link com.google.gson.Gson} instance to properly translate Java field * to configure a {@link com.google.gson.Gson} instance to properly translate Java field
* names into the desired JSON field names. * names into the desired JSON field names.
* *
* @author Inderjeet Singh
* @author Joel Leitch * @author Joel Leitch
*/ */
public enum FieldNamingPolicy { public enum FieldNamingPolicy {

View File

@ -23,6 +23,7 @@ import java.lang.reflect.Field;
* field names into a particular convention that is not supported as a normal Java field * field names into a particular convention that is not supported as a normal Java field
* declaration rules. For example, Java does not support "-" characters in a field name. * declaration rules. For example, Java does not support "-" characters in a field name.
* *
* @author Inderjeet Singh
* @author Joel Leitch * @author Joel Leitch
* @since 1.3 * @since 1.3
*/ */

View File

@ -73,6 +73,7 @@ import java.lang.reflect.Type;
* *
* @param <T> the type of object that will be created by this implementation. * @param <T> the type of object that will be created by this implementation.
* *
* @author Inderjeet Singh
* @author Joel Leitch * @author Joel Leitch
*/ */
public interface InstanceCreator<T> { public interface InstanceCreator<T> {

View File

@ -30,6 +30,7 @@ import java.util.List;
* elements are added is preserved. * elements are added is preserved.
* *
* @author Inderjeet Singh * @author Inderjeet Singh
* @author Joel Leitch
*/ */
public final class JsonArray extends JsonElement implements Iterable<JsonElement> { public final class JsonArray extends JsonElement implements Iterable<JsonElement> {
private final List<JsonElement> elements; private final List<JsonElement> elements;

View File

@ -24,6 +24,7 @@ import java.lang.reflect.Type;
* method. * method.
* *
* @author Inderjeet Singh * @author Inderjeet Singh
* @author Joel Leitch
*/ */
public interface JsonDeserializationContext { public interface JsonDeserializationContext {

View File

@ -28,6 +28,7 @@ import java.util.Map.Entry;
* tree of JsonElements. The member elements of this object are maintained in order they were added. * tree of JsonElements. The member elements of this object are maintained in order they were added.
* *
* @author Inderjeet Singh * @author Inderjeet Singh
* @author Joel Leitch
*/ */
public final class JsonObject extends JsonElement { public final class JsonObject extends JsonElement {
// We are using a linked hash map because it is important to preserve // We are using a linked hash map because it is important to preserve

View File

@ -26,6 +26,7 @@ package com.google.gson;
* exception and do nothing. It is often the case that you want to blow up if there is a parsing * exception and do nothing. It is often the case that you want to blow up if there is a parsing
* error (i.e. often clients do not know how to recover from a {@link JsonParseException}.</p> * error (i.e. often clients do not know how to recover from a {@link JsonParseException}.</p>
* *
* @author Inderjeet Singh
* @author Joel Leitch * @author Joel Leitch
*/ */
public final class JsonParseException extends RuntimeException { public final class JsonParseException extends RuntimeException {

View File

@ -26,6 +26,7 @@ import java.math.BigInteger;
* wrapper type. * wrapper type.
* *
* @author Inderjeet Singh * @author Inderjeet Singh
* @author Joel Leitch
*/ */
public final class JsonPrimitive extends JsonElement { public final class JsonPrimitive extends JsonElement {

View File

@ -23,6 +23,7 @@ import java.lang.reflect.Type;
* {@link JsonSerializer#serialize(Object, Type, JsonSerializationContext)} method. * {@link JsonSerializer#serialize(Object, Type, JsonSerializationContext)} method.
* *
* @author Inderjeet Singh * @author Inderjeet Singh
* @author Joel Leitch
*/ */
public interface JsonSerializationContext { public interface JsonSerializationContext {

View File

@ -53,6 +53,7 @@ import java.lang.annotation.Target;
* explicitly specify all fields that should get considered for serialization or deserialization. * explicitly specify all fields that should get considered for serialization or deserialization.
* *
* @author Inderjeet Singh * @author Inderjeet Singh
* @author Joel Leitch
*/ */
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD) @Target(ElementType.FIELD)

View File

@ -60,6 +60,7 @@ import java.lang.annotation.Target;
* *
* @see com.google.gson.FieldNamingPolicy * @see com.google.gson.FieldNamingPolicy
* *
* @author Inderjeet Singh
* @author Joel Leitch * @author Joel Leitch
*/ */
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)

View File

@ -48,6 +48,7 @@ import java.lang.annotation.Target;
* since it's version number is set to {@code 1.1}.</p> * since it's version number is set to {@code 1.1}.</p>
* *
* @author Inderjeet Singh * @author Inderjeet Singh
* @author Joel Leitch
*/ */
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.TYPE}) @Target({ElementType.FIELD, ElementType.TYPE})

View File

@ -50,7 +50,9 @@ import java.lang.annotation.Target;
* GsonBuilder, {@code 1.2}, exceeds the version number set on the {@code Until} annotation, * GsonBuilder, {@code 1.2}, exceeds the version number set on the {@code Until} annotation,
* {@code 1.1}, for those fields. * {@code 1.1}, for those fields.
* *
* @author Inderjeet Singh
* @author Joel Leitch * @author Joel Leitch
* @since 1.3
*/ */
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.TYPE}) @Target({ElementType.FIELD, ElementType.TYPE})