From ee691fba43663d1715752a7642f4b4ece1738567 Mon Sep 17 00:00:00 2001 From: Igor Mysak Date: Fri, 21 Jul 2017 10:12:25 -0700 Subject: [PATCH] fix javaDoc (#1122) --- gson/src/main/java/com/google/gson/FieldAttributes.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gson/src/main/java/com/google/gson/FieldAttributes.java b/gson/src/main/java/com/google/gson/FieldAttributes.java index bcabff14..4ee906a6 100644 --- a/gson/src/main/java/com/google/gson/FieldAttributes.java +++ b/gson/src/main/java/com/google/gson/FieldAttributes.java @@ -136,9 +136,13 @@ public final class FieldAttributes { } /** - * This is exposed internally only for the removing synthetic fields from the JSON output. + * Returns the value of the field represented by this {@code Field}, on + * the specified object. The value is automatically wrapped in an + * object if it has a primitive type. * - * @return true if the field is synthetic; otherwise false + * @return the value of the represented field in object + * {@code obj}; primitive values are wrapped in an appropriate + * object before being returned * @throws IllegalAccessException * @throws IllegalArgumentException */