public static class ResolverUtil.AnnotatedWith extends Object implements ResolverUtil.Test
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)
Returns true if the type is annotated with the class provided to the constructor.
|
String |
toString() |
public AnnotatedWith(Class<? extends Annotation> annotation)
annotation
- the annotationpublic boolean matches(Class<?> type)
matches
in interface ResolverUtil.Test
type
- the typeCopyright © 2009–2020 MyBatis.org. All rights reserved.