Example usage for org.springframework.beans GenericTypeAwarePropertyDescriptor getReadMethod

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

Introduction

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

Prototype

@Override
    @Nullable
    public Method getReadMethod() 

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());/*w w  w  . j a v  a2  s .c  om*/
}