Top Description Fields Constructors Methods
com.fasterxml.jackson.jr.ob.impl

public Class BeanConstructors

extends Object
Class Inheritance
Imports
java.lang.reflect.Constructor

Container class added to encapsulate details of collection and use of Constructors for User-defined (non-JDK) types (aka "Beans").
Since
2.17

Field Summary

Modifier and TypeField and Description
protected Constructor<?>
protected Constructor<?>
protected Constructor<?>
protected Constructor<?>
_recordCtor

Constructor (canonical) used when deserializing Java Record types.

protected Constructor<?>
protected final Class<?>

Constructor Summary

AccessConstructor and Description
public
BeanConstructors(Class<?> valueType)

Method Summary

Modifier and TypeMethod and Description
public BeanConstructors
public BeanConstructors
public BeanConstructors
public BeanConstructors
public BeanConstructors
protected Object
protected Object
protected Object
create(long l)

protected Object
createRecord(Object[] components)

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_intCtorback to summary
protected Constructor<?> _intCtor
_longCtorback to summary
protected Constructor<?> _longCtor
_noArgsCtorback to summary
protected Constructor<?> _noArgsCtor
_recordCtorback to summary
protected Constructor<?> _recordCtor

Constructor (canonical) used when deserializing Java Record types.

Since
2.18
_stringCtorback to summary
protected Constructor<?> _stringCtor
_valueTypeback to summary
protected final Class<?> _valueType

Constructor Detail

BeanConstructorsback to summary
public BeanConstructors(Class<?> valueType)

Method Detail

addIntConstructorback to summary
public BeanConstructors addIntConstructor(Constructor<?> ctor)
addLongConstructorback to summary
public BeanConstructors addLongConstructor(Constructor<?> ctor)
addNoArgsConstructorback to summary
public BeanConstructors addNoArgsConstructor(Constructor<?> ctor)
addRecordConstructorback to summary
public BeanConstructors addRecordConstructor(Constructor<?> ctor)
Since
2.18
addStringConstructorback to summary
public BeanConstructors addStringConstructor(Constructor<?> ctor)
createback to summary
protected Object create() throws Exception
createback to summary
protected Object create(String str) throws Exception
createback to summary
protected Object create(long l) throws Exception
createRecordback to summary
protected Object createRecord(Object[] components) throws Exception
Since
2.18
forceAccessback to summary
public void forceAccess()