public class BeanPropertyAnnotationMatcher extends java.lang.Object implements BeanPropertyMatcher
| Constructor and Description |
|---|
BeanPropertyAnnotationMatcher(java.lang.Class<?>... annotationClasses)
使用并集判断逻辑来匹配.
|
BeanPropertyAnnotationMatcher(cn.featherfly.common.operator.LogicOperator logic,
java.lang.Class<?>... annotationClasses)
使用指定的判断逻辑来匹配.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(BeanProperty<?,?> beanProperty) |
public BeanPropertyAnnotationMatcher(java.lang.Class<?>... annotationClasses)
annotationClasses - 注解类型public BeanPropertyAnnotationMatcher(cn.featherfly.common.operator.LogicOperator logic,
java.lang.Class<?>... annotationClasses)
LogicOperatorlogic - 判断逻辑annotationClasses - 注解类型public boolean test(BeanProperty<?,?> beanProperty)
test in interface java.util.function.Predicate<BeanProperty<?,?>>