public static class ResolverUtil.AnnotatedWith extends ResolverUtil.ClassTest
Constructor and Description |
---|
AnnotatedWith(Class<? extends Annotation> annotation)
Constructs an AnnotatedWith test for the specified annotation type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(Class type)
Will be called repeatedly with candidate classes.
|
String |
toString() |
doesMatchClass, doesMatchResource, matches
public AnnotatedWith(Class<? extends Annotation> annotation)
annotation
- annotationpublic boolean matches(Class type)
ResolverUtil.Test
type
- class typeCopyright © 2000–2020 Apache Software Foundation. All rights reserved.