## 类的使用
org.springframework.beans.PropertyMatches

- 使用PropertyMatches的程序包
  程序包 | 说明
  --- | ---
  org.springframework.beans | This package contains interfaces and classes for manipulating Java beans.

- - ### org.springframework.beans中PropertyMatches的使用

    返回PropertyMatches的org.springframework.beans中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `static PropertyMatches` | PropertyMatches.`forField(String propertyName, Class<?> beanClass)` Create PropertyMatches for the given field property.
    `static PropertyMatches` | PropertyMatches.`forField(String propertyName, Class<?> beanClass, int maxDistance)` Create PropertyMatches for the given field property.
    `static PropertyMatches` | PropertyMatches.`forProperty(String propertyName, Class<?> beanClass)` Create PropertyMatches for the given bean property.
    `static PropertyMatches` | PropertyMatches.`forProperty(String propertyName, Class<?> beanClass, int maxDistance)` Create PropertyMatches for the given bean property.