public abstract class BeanDirectCopier<S,T> extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected BeanCopier<S> |
beanCopier |
static String |
FIELD_PREFIX_CLASS |
static String |
FIELD_PREFIX_TYPE |
protected Map<String,BeanPropertyInfo> |
properties |
protected Class<T> |
targetType |
| 构造器和说明 |
|---|
BeanDirectCopier() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
convert(Type type,
Object value,
BiFunction<Type,Object,Object> converter) |
protected void |
copy(S source,
T target) |
protected Type |
getPropertyGenericType(String propertyName) |
protected Class<?> |
getPropertyType(String propertyName) |
protected abstract void |
initTypeFields() |
protected void |
resolveCopyError(String propertyName,
Throwable e) |
protected void |
resolveCopyError(String propertyName,
Throwable e,
CopyOptions options) |
protected BeanCopier<S> beanCopier
protected Map<String,BeanPropertyInfo> properties
protected abstract void initTypeFields()
protected final void resolveCopyError(String propertyName, Throwable e, CopyOptions options)
Copyright © 2024 fossc. All rights reserved.