gson-comments/gson/src/test/java/com/google
Marcono1234 e7cf5c4583
Only create one BoundField instance per field in ReflectiveTypeAdapterFactory (#2440)
* Only create one BoundField instance per field in ReflectiveTypeAdapterFactory

Instead of creating a BoundField for every possible name of a field (for
SerializedName usage) and then storing for that BoundField whether it is
serialized or deserialized, instead only create one BoundField and then have
a separate Map<String, BoundField> for deserialized fields, and a separate
List<BoundField> for serialized fields.

* Fix indentation
2023-09-30 13:23:31 -07:00
..
gson Only create one BoundField instance per field in ReflectiveTypeAdapterFactory (#2440) 2023-09-30 13:23:31 -07:00