246247248249250251252
* @param clazz * the class of the accepted type. * @return <code>null</code>. */ public static <T> T isA(Class<T> clazz) { return reportMatcher(new InstanceOf(clazz)).<T>returnNull(); }
208209210211212213214
338339340341342343344
264265266267268269270
77787980818283
} // Object public static Matcher<Object> instanceOf(Class clazz) { return new InstanceOf(clazz); }