public static class ResolverUtil.IsA extends Object implements ResolverUtil.Test
Constructor and Description |
---|
IsA(Class<?> parentType)
Constructs an IsA test using the supplied Class as the parent class/interface.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(Class<?> type)
Returns true if type is assignable to the parent type supplied in the constructor.
|
String |
toString() |
public IsA(Class<?> parentType)
parentType
- the parent typepublic boolean matches(Class<?> type)
matches
in interface ResolverUtil.Test
type
- the typeCopyright © 2009–2021 MyBatis.org. All rights reserved.