| Modifier and Type | Method and Description |
|---|---|
default @Nullable TypeInformation |
MappingContext.getGenericTypeInfoOrFail(int index)
Convenience method: gets the generic type info for the given index and ensures that the generic type information
exists and that it can be converted into a safe-to-write class.
|
@NotNull TypeInformation |
MappingContext.getTypeInformation() |
@NotNull TypeInformation |
MappingContextImpl.getTypeInformation() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Object |
MapperImpl.convertToBean(@Nullable Object value,
@NotNull TypeInformation beanType,
@NotNull ConvertErrorRecorder errorRecorder) |
@Nullable Object |
Mapper.convertToBean(@Nullable Object value,
@NotNull TypeInformation typeInformation,
@NotNull ConvertErrorRecorder errorRecorder)
Creates an object of the given type from the given value.
|
@NotNull MappingContext |
MappingContext.createChild(@NotNull String name,
@NotNull TypeInformation typeInformation)
Creates a child context with the given path addition ("name") and type information.
|
@NotNull MappingContext |
MappingContextImpl.createChild(@NotNull String subPath,
@NotNull TypeInformation typeInformation) |
static @NotNull MappingContextImpl |
MappingContextImpl.createRoot(@NotNull TypeInformation typeInformation,
@NotNull ConvertErrorRecorder errorRecorder)
Creates an initial context (used at the start of a mapping process).
|
protected @NotNull MappingContext |
MapperImpl.createRootMappingContext(@NotNull TypeInformation beanType,
@NotNull ConvertErrorRecorder errorRecorder) |
| Constructor and Description |
|---|
MappingContextImpl(@NotNull String path,
@NotNull TypeInformation typeInformation,
@NotNull ConvertErrorRecorder errorRecorder) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Object |
AbstractLeafValueHandler.convert(@NotNull TypeInformation typeInformation,
@Nullable Object value) |
@Nullable Object |
CombiningLeafValueHandler.convert(@NotNull TypeInformation typeInformation,
@Nullable Object value) |
@Nullable Object |
LeafValueHandler.convert(@NotNull TypeInformation typeInformation,
@Nullable Object value)
Converts the given value to the given class, if possible.
|
| Modifier and Type | Method and Description |
|---|---|
protected @NotNull TypeInformation |
BeanDescriptionFactoryImpl.createTypeInfo(@NotNull PropertyDescriptor descriptor) |
@NotNull TypeInformation |
BeanPropertyDescription.getTypeInformation() |
@NotNull TypeInformation |
BeanPropertyDescriptionImpl.getTypeInformation() |
| Constructor and Description |
|---|
BeanPropertyDescriptionImpl(@NotNull String name,
@NotNull TypeInformation typeInformation,
@NotNull Method getter,
@NotNull Method setter)
Deprecated.
|
BeanPropertyDescriptionImpl(@NotNull String name,
@NotNull TypeInformation typeInformation,
@NotNull Method getter,
@NotNull Method setter,
@NotNull BeanPropertyComments comments)
Constructor.
|
| Constructor and Description |
|---|
BeanProperty(@NotNull TypeInformation beanType,
@NotNull String path,
T defaultValue,
@NotNull Mapper mapper)
Constructor.
|
| Constructor and Description |
|---|
BeanPropertyType(@NotNull TypeInformation beanType,
@NotNull Mapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull TypeInformation |
TypeInformation.fromField(@NotNull Field field)
Creates a new TypeInformation instance based on the given field's type.
|
@Nullable TypeInformation |
TypeInformation.getGenericType(int index)
"Unwraps" the type and returns the generic type information for the given index, provided the wrapped type
contains generic information.
|
Copyright © 2016–2023 The AuthMe Team. All rights reserved.