public static class ResolverUtil.AnnotatedWith extends ResolverUtil.ClassTest
Constructor and Description |
---|
ResolverUtil.AnnotatedWith(Class<? extends Annotation> annotation)
Constructs an AnnotatedWith test for the specified annotation type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(Class<?> type)
Returns true if the type is annotated with the class provided to the constructor.
|
String |
toString() |
doesMatchClass, doesMatchResource, matches
public ResolverUtil.AnnotatedWith(Class<? extends Annotation> annotation)
annotation
- The annotation to check for.Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.