类的使用
cn.taketoday.reflect.PropertyAccessor
使用PropertyAccessor的程序包
-
cn.taketoday.reflect中PropertyAccessor的使用
修饰符和类型方法说明static PropertyAccessorstatic PropertyAccessorPropertyAccessorstatic PropertyAccessorstatic PropertyAccessorPropertyAccessor.fromMethod(GetterMethod readMethod, SetterMethod writeMethod) use GetterMethod and SetterMethod tech to access propertystatic PropertyAccessorPropertyAccessor.fromMethod(Method readMethod, Method writeMethod) getter setter is exists in a bean or pojo, use fast invoke techMethodInvokerstatic PropertyAccessorPropertyAccessor.fromReflective(Field field) use java reflectFieldtechstatic PropertyAccessorPropertyAccessor.fromReflective(Field field, Method readMethod, Method writeMethod) use java reflectFieldtech