gson-comments/extras/src/main/java/com/google/gson
Marcono1234 e82637c485
Add support for reflection access filter (#1905)
* Add support for reflection access filter

* Improve documentation

* Fix compilation errors

* Relax handling for BLOCK_ALL when invoking default constructor

* Improve handling for inherited fields

* Fix accessible test failing for static fields

* Simplify ReflectiveTypeAdapterFactory field writing

* Fix GsonBuilder changes affecting created Gson instances

* Improve documentation

* Improve handling for IllegalAccessException

For Java < 9, AccessibleObject.canAccess is not available and therefore checks
might pass even if object is not accessible, causing IllegalAccessException
later.

* Fix incorrect GsonBuilder.addReflectionAccessFilter documentation
2022-04-17 09:05:18 -07:00
..
extras/examples/rawcollections update RawCollectionsExample.java (#1953) 2021-09-07 08:02:04 -07:00
graph Add support for reflection access filter (#1905) 2022-04-17 09:05:18 -07:00
interceptors Add CodeQL GitHub code scanning workflow (#2076) 2022-02-17 18:40:40 -08:00
typeadapters Fix RuntimeTypeAdapterFactory depending on internal Streams class (#1959) 2021-09-17 17:21:37 -07:00