Class ReflectiveTypeAdapterFactory.BoundField

java.lang.Object
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.BoundField
Enclosing class:
ReflectiveTypeAdapterFactory

abstract static class ReflectiveTypeAdapterFactory.BoundField extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final boolean
     
    (package private) final Field
     
    (package private) final String
    Name of the underlying field
    (package private) final String
     
    (package private) final boolean
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    BoundField(String name, Field field, boolean serialized, boolean deserialized)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) abstract void
    readIntoArray(JsonReader reader, int index, Object[] target)
    Read the value into the target array, used to provide constructor arguments for records
    (package private) abstract void
    readIntoField(JsonReader reader, Object target)
    Read the value from the reader, and set it on the corresponding field on target via reflection
    (package private) abstract void
    write(JsonWriter writer, Object source)
    Read this field value from the source, and append its JSON value to the writer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait