public final class ObjectReaderImplList extends java.lang.Object implements ObjectReader
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.function.Function |
builder |
(package private) static java.lang.Class |
CLASS_ARRAYS_LIST |
(package private) static java.lang.Class |
CLASS_EMPTY_LIST |
(package private) static java.lang.Class |
CLASS_EMPTY_SET |
(package private) static java.lang.Class |
CLASS_SINGLETON |
(package private) static java.lang.Class |
CLASS_SINGLETON_LIST |
(package private) static java.lang.Class |
CLASS_UNMODIFIABLE_COLLECTION |
(package private) static java.lang.Class |
CLASS_UNMODIFIABLE_LIST |
(package private) static java.lang.Class |
CLASS_UNMODIFIABLE_NAVIGABLE_SET |
(package private) static java.lang.Class |
CLASS_UNMODIFIABLE_SET |
(package private) static java.lang.Class |
CLASS_UNMODIFIABLE_SORTED_SET |
(package private) java.lang.reflect.Constructor |
constructor |
static ObjectReaderImplList |
INSTANCE |
(package private) boolean |
instanceError |
(package private) java.lang.Class |
instanceType |
(package private) long |
instanceTypeHash |
(package private) java.lang.Class |
itemClass |
(package private) java.lang.String |
itemClassName |
(package private) long |
itemClassNameHash |
(package private) ObjectReader |
itemObjectReader |
(package private) java.lang.reflect.Type |
itemType |
(package private) static java.util.List |
kotlinEmptyList |
(package private) static java.util.Set |
kotlinEmptySet |
(package private) java.lang.Class |
listClass |
(package private) java.lang.Object |
listSingleton |
(package private) java.lang.reflect.Type |
listType |
HASH_TYPE, VALUE_NAME| Constructor and Description |
|---|
ObjectReaderImplList(java.lang.Class listClass,
java.lang.Object listSingleton) |
ObjectReaderImplList(java.lang.reflect.Type listType,
java.lang.Class listClass,
java.lang.Class instanceType,
java.lang.reflect.Type itemType,
java.util.function.Function builder) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
createInstance(java.util.Collection collection,
long features) |
java.lang.Object |
createInstance(long features) |
java.util.function.Function |
getBuildFunction()
Gets the build function used to construct the final object instance.
|
(package private) static java.util.List |
getKotlinEmptyList(java.lang.Class clazz) |
(package private) static java.util.Set |
getKotlinEmptySet(java.lang.Class clazz) |
java.lang.Class |
getObjectClass()
Gets the class of objects that this ObjectReader can deserialize.
|
static ObjectReader |
of(java.lang.reflect.Type type,
java.lang.Class listClass,
long features) |
java.lang.Object |
readJSONBObject(JSONReader jsonReader,
java.lang.reflect.Type fieldType,
java.lang.Object fieldName,
long features)
Reads an object from JSONB format.
|
java.lang.Object |
readObject(JSONReader jsonReader,
java.lang.reflect.Type fieldType,
java.lang.Object fieldName,
long features)
Reads an object from the specified JSONReader with the given field type, field name, and features.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, acceptExtra, acceptExtra, autoType, autoType, createInstance, createInstance, createInstance, createInstance, createInstance, createInstanceNoneDefaultConstructor, getFeatures, getFieldReader, getFieldReader, getFieldReaderLCase, getTypeKey, getTypeKeyHash, readArrayMappingJSONBObject, readArrayMappingObject, readObject, readObject, readObject, setFieldValue, setFieldValue, setFieldValuestatic final java.lang.Class CLASS_EMPTY_SET
static final java.lang.Class CLASS_EMPTY_LIST
static final java.lang.Class CLASS_SINGLETON
static final java.lang.Class CLASS_SINGLETON_LIST
static final java.lang.Class CLASS_ARRAYS_LIST
static final java.lang.Class CLASS_UNMODIFIABLE_COLLECTION
static final java.lang.Class CLASS_UNMODIFIABLE_LIST
static final java.lang.Class CLASS_UNMODIFIABLE_SET
static final java.lang.Class CLASS_UNMODIFIABLE_SORTED_SET
static final java.lang.Class CLASS_UNMODIFIABLE_NAVIGABLE_SET
public static ObjectReaderImplList INSTANCE
static java.util.List kotlinEmptyList
static java.util.Set kotlinEmptySet
final java.lang.reflect.Type listType
final java.lang.Class listClass
final java.lang.Class instanceType
final long instanceTypeHash
final java.lang.reflect.Type itemType
final java.lang.Class itemClass
final java.lang.String itemClassName
final long itemClassNameHash
final java.util.function.Function builder
java.lang.Object listSingleton
ObjectReader itemObjectReader
volatile boolean instanceError
volatile java.lang.reflect.Constructor constructor
ObjectReaderImplList(java.lang.Class listClass,
java.lang.Object listSingleton)
public ObjectReaderImplList(java.lang.reflect.Type listType,
java.lang.Class listClass,
java.lang.Class instanceType,
java.lang.reflect.Type itemType,
java.util.function.Function builder)
public static ObjectReader of(java.lang.reflect.Type type, java.lang.Class listClass, long features)
static java.util.Set getKotlinEmptySet(java.lang.Class clazz)
static java.util.List getKotlinEmptyList(java.lang.Class clazz)
public java.lang.Class getObjectClass()
ObjectReadergetObjectClass in interface ObjectReaderpublic java.util.function.Function getBuildFunction()
ObjectReadergetBuildFunction in interface ObjectReaderpublic java.lang.Object createInstance(java.util.Collection collection,
long features)
createInstance in interface ObjectReaderTpublic java.lang.Object createInstance(long features)
createInstance in interface ObjectReaderTpublic java.lang.Object readJSONBObject(JSONReader jsonReader, java.lang.reflect.Type fieldType, java.lang.Object fieldName, long features)
ObjectReaderreadJSONBObject in interface ObjectReaderjsonReader - the JSONReader to use for parsingfieldType - the type of the field being readfieldName - the name of the field being readfeatures - the features to usepublic java.lang.Object readObject(JSONReader jsonReader, java.lang.reflect.Type fieldType, java.lang.Object fieldName, long features)
ObjectReaderreadObject in interface ObjectReaderjsonReader - the JSONReader to use for parsingfieldType - the type of the field being readfieldName - the name of the field being readfeatures - the features to use