public static class ReflectionUtils.AnnotationFieldFilter extends Object implements ReflectionUtils.DescribedFieldFilter
ReflectionUtils.FieldFilter for a given annotation.| Constructor and Description |
|---|
AnnotationFieldFilter(Class<? extends Annotation> annotationType)
Creates a new
ReflectionUtils.AnnotationFieldFilter for the given annotation type. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns the description of the field filter.
|
boolean |
matches(Field field) |
public AnnotationFieldFilter(Class<? extends Annotation> annotationType)
ReflectionUtils.AnnotationFieldFilter for the given annotation type.public boolean matches(Field field)
matches in interface ReflectionUtils.FieldFilterpublic String getDescription()
ReflectionUtils.DescribedFieldFiltergetDescription in interface ReflectionUtils.DescribedFieldFilterCopyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.