public class AnnotatedPropertyCriteria extends Object implements PropertyCriteria
PropertyCriteria| Constructor and Description |
|---|
AnnotatedPropertyCriteria(Class<? extends Annotation> annotationClass) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
fieldMatches(Field f)
Tests whether the specified field matches the criteria
|
boolean |
methodMatches(Method m)
Tests whether the specified method matches the criteria
|
public AnnotatedPropertyCriteria(Class<? extends Annotation> annotationClass)
public boolean fieldMatches(Field f)
PropertyCriteriafieldMatches in interface PropertyCriteriapublic boolean methodMatches(Method m)
PropertyCriteriamethodMatches in interface PropertyCriteriaCopyright © 2017 JBoss by Red Hat. All rights reserved.