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