public interface PropDesc
AbstractPropDesc| 限定符和类型 | 方法和说明 |
|---|---|
Class<?> |
getBeanType()
Get the bean type.
|
@Nullable MethodInvoker |
getGetter(String propertyName)
Get the getter method.
|
@Nullable MethodInvoker |
getSetter(String propertyName)
Get the setter method.
|
default Object |
readProperty(Object target,
String propertyName)
Get the specified property value.
|
default void |
writeProperty(Object target,
String propertyName,
Object value)
Set the specified property value.
|
Class<?> getBeanType()
@Nullable MethodInvoker getGetter(String propertyName)
propertyName - property namedefault Object readProperty(Object target, String propertyName)
target - targetpropertyName - property name@Nullable MethodInvoker getSetter(String propertyName)
propertyName - property nameCopyright © 2024. All rights reserved.