public class FieldWrapper extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static Map<Class<?>,Map<String,FieldWrapper>> |
cache |
private Class<?> |
fieldType |
private Class<?> |
mappingType |
private Method |
setterMethod |
| 构造器和说明 |
|---|
FieldWrapper() |
| 限定符和类型 | 方法和说明 |
|---|---|
Class<?> |
getFieldType() |
Class<?> |
getMappingType() |
static FieldWrapper |
of(Class<?> clazz,
String fieldName) |
private static Class<?> |
parseMappingType(Field field) |
void |
set(Object value,
Object to) |
private Class<?> mappingType
private Method setterMethod
public FieldWrapper()
public static FieldWrapper of(Class<?> clazz, String fieldName)
private static Class<?> parseMappingType(Field field)
public Class<?> getFieldType()
public Class<?> getMappingType()
Copyright © 2023. All rights reserved.