public class BeanPropertyAnnotationMatcher extends java.lang.Object implements BeanPropertyMatcher
| 构造器和说明 |
|---|
BeanPropertyAnnotationMatcher(java.lang.Class<?>... annotationClasses)
使用并集判断逻辑来匹配.
|
BeanPropertyAnnotationMatcher(Logic logic,
java.lang.Class<?>... annotationClasses)
使用指定的判断逻辑来匹配.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
test(BeanProperty<?> beanProperty) |
public BeanPropertyAnnotationMatcher(java.lang.Class<?>... annotationClasses)
annotationClasses - 注解类型public boolean test(BeanProperty<?> beanProperty)
test 在接口中 java.util.function.Predicate<BeanProperty<?>>