Class JDK14Util.RecordAccessor
- java.lang.Object
-
- com.fasterxml.jackson.databind.jdk14.JDK14Util.RecordAccessor
-
- Enclosing class:
- JDK14Util
static class JDK14Util.RecordAccessor extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static JDK14Util.RecordAccessorINSTANCEprivate static java.lang.RuntimeExceptionPROBLEMprivate java.lang.reflect.MethodRECORD_COMPONENT_GET_NAMEprivate java.lang.reflect.MethodRECORD_COMPONENT_GET_TYPEprivate java.lang.reflect.MethodRECORD_GET_RECORD_COMPONENTS
-
Constructor Summary
Constructors Modifier Constructor Description privateRecordAccessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]getRecordFieldNames(java.lang.Class<?> recordType)JDK14Util.RawTypeName[]getRecordFields(java.lang.Class<?> recordType)static JDK14Util.RecordAccessorinstance()protected java.lang.Object[]recordComponents(java.lang.Class<?> recordType)
-
-
-
Field Detail
-
RECORD_GET_RECORD_COMPONENTS
private final java.lang.reflect.Method RECORD_GET_RECORD_COMPONENTS
-
RECORD_COMPONENT_GET_NAME
private final java.lang.reflect.Method RECORD_COMPONENT_GET_NAME
-
RECORD_COMPONENT_GET_TYPE
private final java.lang.reflect.Method RECORD_COMPONENT_GET_TYPE
-
INSTANCE
private static final JDK14Util.RecordAccessor INSTANCE
-
PROBLEM
private static final java.lang.RuntimeException PROBLEM
-
-
Method Detail
-
instance
public static JDK14Util.RecordAccessor instance()
-
getRecordFieldNames
public java.lang.String[] getRecordFieldNames(java.lang.Class<?> recordType) throws java.lang.IllegalArgumentException- Throws:
java.lang.IllegalArgumentException
-
getRecordFields
public JDK14Util.RawTypeName[] getRecordFields(java.lang.Class<?> recordType) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
recordComponents
protected java.lang.Object[] recordComponents(java.lang.Class<?> recordType) throws java.lang.IllegalArgumentException- Throws:
java.lang.IllegalArgumentException
-
-