See: Description
| Interface | Description |
|---|---|
| _OptimizedJsonReader |
Interface for reading Json fields and values using an internal index.
|
| _OptimizedJsonWriter | |
| _OptimizedTypeAdapter |
Marker interface for all injected optimized GSON type adapters.
|
| Class | Description |
|---|---|
| _GsonUtil |
This utility class is injected into the program class pool when the GSON
optimizations are applied.
|
| _OptimizedJsonReaderImpl |
This class is a template for an _OptimizedJsonReader implementation.
|
| _OptimizedJsonWriterImpl |
This class is a template for an _OptimizedJsonWriter implementation.
|
| _OptimizedTypeAdapterFactory |
Template class for the optimized type adapter factory that deals with all
optimized GSON domain classes.
|
| _OptimizedTypeAdapterImpl |
Template class for an optimized GSON type adapter.
|
| GsonAnnotationCleaner |
This class visitor removes Gson annotations that are not required anymore
after the Gson optimizations are applied.
|
| GsonBuilderInvocationFinder |
This instructor visitor searches for invocations to GsonBuilder and keeps
track of which parameters of the GsonBuilder are being utilized in the code
in a GsonRuntimeSettings instance.
|
| GsonClassConstants |
Constants used in the classes of the GSON library.
|
| GsonConstructorPatcher |
Class visitor that patches the constructor of Gson so that the injected
optimized type adapter factory is registered at the right priority.
|
| GsonContext |
This class groups all information about how the Gson library is being used
in a program class pool.
|
| GsonDeserializationInvocationFinder |
This instruction visitor searches the code for invocations to any of the
deserialization methods of Gson (all the fromJson variants) and keeps
track of the domain classes that are involved in the deserialization.
|
| GsonDeserializationOptimizer |
This visitor injects a fromJson$xxx() method into the classes that it visits
that deserializes its fields from Json.
|
| GsonDomainClassFinder |
This class visitor determines whether a given domain class can be optimized
by the GSON optimizations and traverses both the class and field hierarchy
to look for further domain classes.
|
| GsonInstrumentationAdder |
Instruction visitor that adds some instrumentation code to the Gson.toJson()
and Gson.fromJson() methods that prints out the type adapter cache.
|
| GsonOptimizer |
This pass is the entry point for the GSON optimizations.
|
| GsonRuntimeSettings |
This class keeps track of which parameters of the GsonBuilder are being
utilized in the code.
|
| GsonSerializationInvocationFinder |
This instruction visitor searches the code for invocations to any of the
serialization methods of Gson (all the toJson variants) and keeps
track of the domain classes that are involved in the serialization.
|
| GsonSerializationOptimizer |
This visitor injects a toJson$xxx() method into the classes that it visits
that serializes its fields to Json.
|
| OptimizedClassConstants |
Constants used in the injected GSON optimization classes.
|
| OptimizedClassConstants.FromJsonFieldLocals | |
| OptimizedClassConstants.FromJsonLocals | |
| OptimizedClassConstants.ReadLocals | |
| OptimizedClassConstants.ToJsonLocals | |
| OptimizedClassConstants.WriteLocals | |
| OptimizedJsonFieldCollector |
This class and member visitor collects the classes and fields that can be
involved in Json (de)serialization and register their Java to Json field
name mapping in an OptimizedJsonInfo object
|
| OptimizedJsonFieldVisitor |
This visitor searches the classes that it visits for fields that can be
involved in Json (de)serialization and passes them on to the given member
visitor.
|
| OptimizedJsonInfo |
This class keeps track of which Java classes and fields can be involved in
Json (de)serialization and stores their corresponding Json field names
and internal indices.
|
| OptimizedJsonInfo.ClassJsonInfo | |
| OptimizedJsonReaderImplInitializer |
This code attribute visitor implements the static initializer of
_OptimizedJsonReaderImpl so that the data structure is initialized
with the correct mapping between Json field names and internal
indices.
|
| OptimizedJsonWriterImplInitializer |
This code attribute visitor implements the static initializer of
_OptimizedJsonWriterImpl so that the data structure is initialized
with the correct mapping between internal indices and Json field names.
|
| OptimizedTypeAdapterAdder |
This ClassVisitor visits domain classes that can be involved in a GSON
(de)serialization and injects an optimized TypeAdapter for each of them.
|
| OptimizedTypeAdapterFactoryInitializer |
This visitor implements the getType() method of the injected
_OptimizedTypeAdapterFactory.
|
| OptimizedTypeAdapterInitializer |
This class visitor transforms the template _OptimizedTypeAdapter into a full
implementation of a GSON TypeAdapter for a specific domain class.
|
| Enum | Description |
|---|---|
| OptimizedJsonFieldCollector.Mode |