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

public final Class RecordsHelpers

extends Object
Class Inheritance
Imports
java.lang.reflect.Constructor, .Field, .Method, java.util.Arrays, .List, .Map, java.util.stream.Collectors, com.fasterxml.jackson.jr.ob.impl.POJODefinition.PropBuilder

Helper class to get Java Record metadata.
Since
2.18

Field Summary

Modifier and TypeField and Description
private static Method
private static Method
private static boolean

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static Class<?>[]
componentTypes(Class<?> recordType)

pack-priv static Constructor<?>
pack-priv static boolean
pack-priv static boolean
pack-priv static List<String>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

getComponentTypeMethodback to summary
private static Method getComponentTypeMethod
getRecordComponentsMethodback to summary
private static Method getRecordComponentsMethod
supportsRecordsback to summary
private static boolean supportsRecords

Constructor Detail

RecordsHelpersback to summary
private RecordsHelpers()

Method Detail

componentTypesback to summary
private static Class<?>[] componentTypes(Class<?> recordType) throws ReflectiveOperationException
findCanonicalConstructorback to summary
pack-priv static Constructor<?> findCanonicalConstructor(Class<?> beanClass)
isRecordConstructorback to summary
pack-priv static boolean isRecordConstructor(Class<?> beanClass, Constructor<?> ctor, Map<String, POJODefinition.PropBuilder> propsByName)
isRecordTypeback to summary
pack-priv static boolean isRecordType(Class<?> cls)
recordPropertyNamesback to summary
pack-priv static List<String> recordPropertyNames(Class<?> cls)