Package | Description |
---|---|
org.dromara.hutool.core.bean |
Bean相关操作,包括Bean信息描述,Bean路径表达式、动态Bean、Bean工具等
|
org.dromara.hutool.core.reflect |
提供反射相关功能对象和类
|
org.dromara.hutool.core.reflect.method |
提供方法相关封装
|
Modifier and Type | Field and Description |
---|---|
protected Invoker |
PropDesc.getter
Getter方法
|
protected Invoker |
PropDesc.setter
Setter方法
|
Modifier and Type | Method and Description |
---|---|
Invoker |
PropDesc.getGetter()
获取Getter方法Invoker,可能为
null |
default Invoker |
BeanDesc.getGetter(String fieldName)
获取Getter方法,如果不存在返回null
|
Invoker |
PropDesc.getSetter()
获取Setter方法Invoker,可能为
null |
default Invoker |
BeanDesc.getSetter(String fieldName)
获取Setter方法,如果不存在返回null
|
Modifier and Type | Class and Description |
---|---|
class |
FieldInvoker
字段调用器
通过反射读取或赋值字段 读取字段值:
FieldInvoker.of(Field).invoke(obj);
赋值字段值:
FieldInvoker.of(Field).invoke(obj, value);
|
Modifier and Type | Class and Description |
---|---|
class |
MethodInvoker
方法调用器,通过反射调用方法。
|
Copyright © 2025. All rights reserved.