Uses of Interface
com.google.gson.internal.ObjectConstructor
Packages that use ObjectConstructor
Package
Description
Do NOT use any class in this package as they are meant for internal use in Gson.
-
Uses of ObjectConstructor in com.google.gson.internal
Methods in com.google.gson.internal that return ObjectConstructorModifier and TypeMethodDescription<T> ObjectConstructor<T>
private <T> ObjectConstructor<T>
ConstructorConstructor.newDefaultConstructor
(Class<? super T> rawType) private <T> ObjectConstructor<T>
ConstructorConstructor.newDefaultImplementationConstructor
(Type type, Class<? super T> rawType) Constructors for common interface types like Map and List and their subtypes.private <T> ObjectConstructor<T>
ConstructorConstructor.newUnsafeAllocator
(Type type, Class<? super T> rawType) -
Uses of ObjectConstructor in com.google.gson.internal.bind
Fields in com.google.gson.internal.bind declared as ObjectConstructorModifier and TypeFieldDescriptionprivate final ObjectConstructor<? extends Collection<E>>
CollectionTypeAdapterFactory.Adapter.constructor
private final ObjectConstructor<? extends Map<K,
V>> MapTypeAdapterFactory.Adapter.constructor
private final ObjectConstructor<T>
ReflectiveTypeAdapterFactory.Adapter.constructor
Constructors in com.google.gson.internal.bind with parameters of type ObjectConstructorModifierConstructorDescriptionAdapter
(Gson context, Type elementType, TypeAdapter<E> elementTypeAdapter, ObjectConstructor<? extends Collection<E>> constructor) Adapter
(Gson context, Type keyType, TypeAdapter<K> keyTypeAdapter, Type valueType, TypeAdapter<V> valueTypeAdapter, ObjectConstructor<? extends Map<K, V>> constructor) (package private)
Adapter
(ObjectConstructor<T> constructor, Map<String, ReflectiveTypeAdapterFactory.BoundField> boundFields)