| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final ReflectionFactory |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static SerializableField. | Returns: The record components array for this classThe record class type)Returns an ordered array of the record components for the given record class. |
| pack-priv static Object | Returns: The record component for this record objectThe record Object recordObject, String The record component name name, Class<?> The record component class type type)Retrieves the value of the record component for the given record object. |
| pack-priv static Object | Returns: The instantiated objectThe record class recordType, SerializableField[] The fields of the record class fields, Object[] The arguments for the constructor args)Invokes the canonical constructor of a record class with the given argument values. |
| pack-priv static boolean | |
| pack-priv static Constructor |
| reflectionFactory | back to summary |
|---|---|
| private static final ReflectionFactory reflectionFactory | |
| JDKSpecific | back to summary |
|---|---|
| pack-priv JDKSpecific() | |
| getRecordComponents | back to summary |
|---|---|
| pack-priv static SerializableField. Returns an ordered array of the record components for the given record class.
| |
| getRecordComponentValue | back to summary |
|---|---|
| pack-priv static Object getRecordComponentValue(Object recordObject, String name, Class<?> type) Retrieves the value of the record component for the given record object.
| |
| invokeRecordCanonicalConstructor | back to summary |
|---|---|
| pack-priv static Object invokeRecordCanonicalConstructor(Class<?> recordType, SerializableField[] fields, Object[] args) Invokes the canonical constructor of a record class with the given argument values.
| |
| isRecord | back to summary |
|---|---|
| pack-priv static boolean isRecord(Class<?> type) Return if this class is a record type.
| |
| newConstructorForSerialization | back to summary |
|---|---|
| pack-priv static Constructor | |
| Modifier and Type | Field and Description |
|---|---|
| private final Constructor | |
| private final Constructor | |
| private final MethodHandle | |
| private final MethodHandle | |
| private final MethodHandle | |
| private final MethodHandle | |
| private final MethodHandle |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| pack-priv Object | |
| pack-priv void | |
| pack-priv Object | |
| pack-priv Constructor | |
| pack-priv Constructor | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean |
| noArgConstructor | back to summary |
|---|---|
| private final Constructor<?> noArgConstructor | |
| objectInputConstructor | back to summary |
|---|---|
| private final Constructor<?> objectInputConstructor | |
| readObject | back to summary |
|---|---|
| private final MethodHandle readObject | |
| readObjectNoData | back to summary |
|---|---|
| private final MethodHandle readObjectNoData | |
| readResolve | back to summary |
|---|---|
| private final MethodHandle readResolve | |
| writeObject | back to summary |
|---|---|
| private final MethodHandle writeObject | |
| writeReplace | back to summary |
|---|---|
| private final MethodHandle writeReplace | |
| SerMethods | back to summary |
|---|---|
| pack-priv SerMethods(Class<?> clazz) | |
| callReadObject | back to summary |
|---|---|
| pack-priv void callReadObject(Object object, ObjectInputStream inputStream) throws IOException, ClassNotFoundException | |
| callReadObjectNoData | back to summary |
|---|---|
| pack-priv void callReadObjectNoData(Object object) throws ObjectStreamException | |
| callReadResolve | back to summary |
|---|---|
| pack-priv Object callReadResolve(Object object) throws ObjectStreamException | |
| callWriteObject | back to summary |
|---|---|
| pack-priv void callWriteObject(Object object, ObjectOutputStream outputStream) throws IOException | |
| callWriteReplace | back to summary |
|---|---|
| pack-priv Object callWriteReplace(Object object) throws ObjectStreamException | |
| getNoArgConstructor | back to summary |
|---|---|
| pack-priv Constructor | |
| getObjectInputConstructor | back to summary |
|---|---|
| pack-priv Constructor | |
| hasReadObject | back to summary |
|---|---|
| pack-priv boolean hasReadObject() | |
| hasReadObjectNoData | back to summary |
|---|---|
| pack-priv boolean hasReadObjectNoData() | |
| hasReadResolve | back to summary |
|---|---|
| pack-priv boolean hasReadResolve() | |
| hasWriteObject | back to summary |
|---|---|
| pack-priv boolean hasWriteObject() | |
| hasWriteReplace | back to summary |
|---|---|
| pack-priv boolean hasWriteReplace() | |