Example usage for org.springframework.beans GenericTypeAwarePropertyDescriptor getWriteMethod

List of usage examples for org.springframework.beans GenericTypeAwarePropertyDescriptor getWriteMethod

Introduction

In this page you can find the example usage for org.springframework.beans GenericTypeAwarePropertyDescriptor getWriteMethod.

Prototype

@Override
    @Nullable
    public Method getWriteMethod() 

Source Link

Usage

From source file:org.springframework.beans.BeanWrapperImpl.java

private Property property(PropertyDescriptor pd) {
    GenericTypeAwarePropertyDescriptor typeAware = (GenericTypeAwarePropertyDescriptor) pd;
    return new Property(typeAware.getBeanClass(), typeAware.getReadMethod(), typeAware.getWriteMethod(),
            typeAware.getName());/*from  w w w. j  a v a 2 s . c o m*/
}