protected static class ReflectivePropertyOperator.ReflectivePropDesc extends AbstractPropDesc
| 限定符和类型 | 字段和说明 |
|---|---|
protected @Nullable ConverterManager |
converterManager
converter register
|
beanType| 构造器和说明 |
|---|
ReflectivePropDesc(Class<?> beanType,
@Nullable ConverterManager converterManager,
boolean throwIfNoAnyMatched) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected MethodInvoker |
createGetterInvokerForField(String propertyName,
Field field)
Creates a
MethodInvoker for getting the value of the specified field. |
protected @Nullable MethodInvoker |
createInvokerForMethod(String propertyName,
Method method)
Create
MethodInvoker according to the specified method. |
protected MethodInvoker |
createSetterInvokerForField(String propertyName,
Field field)
Creates a
MethodInvoker for setting the value of the specified field. |
@Nullable MethodInvoker |
findGetter(String propertyName)
Get getter method.
|
@Nullable MethodInvoker |
findSetter(String propertyName)
Get setter method.
|
protected MethodInvoker |
resolveGetterInvokerForField(String propertyName,
@Nullable Field field)
Resolve invoker which finally be used to get the value of the specified field.
|
protected @Nullable MethodInvoker |
resolveInvokerForMethod(String propertyName,
@Nullable Method method)
Resolve the invoker which finally to used.
|
protected @Nullable MethodInvoker |
resolveSetterInvokerForField(String propertyName,
@Nullable Field field)
Resolve invoker which finally be used to set the value of the specified field.
|
getGetter, getSetterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBeanType, readProperty, writePropertyprotected final @Nullable ConverterManager converterManager
public ReflectivePropDesc(Class<?> beanType, @Nullable ConverterManager converterManager, boolean throwIfNoAnyMatched)
public @Nullable MethodInvoker findGetter(String propertyName)
findGetter 在类中 AbstractPropDescpropertyName - property namepublic @Nullable MethodInvoker findSetter(String propertyName)
findSetter 在类中 AbstractPropDescpropertyName - property nameprotected final @Nullable MethodInvoker resolveInvokerForMethod(String propertyName, @Nullable Method method)
propertyName - property namemethod - methodcreateInvokerForMethod(java.lang.String, java.lang.reflect.Method),
ParameterConvertibleMethodInvokerprotected @Nullable MethodInvoker createInvokerForMethod(String propertyName, Method method)
MethodInvoker according to the specified method.propertyName - property namemethod - getter method or setter methodMethodInvokerprotected final @Nullable MethodInvoker resolveSetterInvokerForField(String propertyName, @Nullable Field field)
propertyName - property namefield - field to be set.MethodInvoker instance for setting the value of the specified field.protected MethodInvoker createSetterInvokerForField(String propertyName, Field field)
MethodInvoker for setting the value of the specified field.propertyName - property namefield - field to be set.MethodInvoker instance for setting the value of the specified field.protected final MethodInvoker resolveGetterInvokerForField(String propertyName, @Nullable Field field)
propertyName - property namefield - field to be got.MethodInvoker instance for getting the value of the specified field.protected MethodInvoker createGetterInvokerForField(String propertyName, Field field)
MethodInvoker for getting the value of the specified field.propertyName - property namefield - field to be got.MethodInvoker instance for getting the value of the specified field.Copyright © 2024. All rights reserved.