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)
PropertyCriteria
fieldMatches
in interface PropertyCriteria
public boolean methodMatches(Method m)
PropertyCriteria
methodMatches
in interface PropertyCriteria
Copyright © 2017 JBoss by Red Hat. All rights reserved.