Package | Description |
---|---|
com.google.gson.internal |
Do NOT use any class in this package as they are meant for internal use in Gson.
|
com.google.gson.internal.bind | |
com.google.gson.internal.reflect |
Modifier and Type | Field and Description |
---|---|
private ReflectionAccessor |
ConstructorConstructor.accessor |
Modifier and Type | Field and Description |
---|---|
private ReflectionAccessor |
ReflectiveTypeAdapterFactory.accessor |
Modifier and Type | Class and Description |
---|---|
(package private) class |
PreJava9ReflectionAccessor
A basic implementation of
ReflectionAccessor which is suitable for Java 8 and below. |
(package private) class |
UnsafeReflectionAccessor
An implementation of
ReflectionAccessor based on Unsafe . |
Modifier and Type | Field and Description |
---|---|
private static ReflectionAccessor |
ReflectionAccessor.instance |
Modifier and Type | Method and Description |
---|---|
static ReflectionAccessor |
ReflectionAccessor.getInstance()
Obtains a
ReflectionAccessor instance suitable for the current Java version. |