/** {@inheritDoc} */ @Override public SELF isExactlyInstanceOf(Class<?> type) { objects.assertIsExactlyInstanceOf(info, actual, type); return myself; }
/** {@inheritDoc} */ @Override public SELF isExactlyInstanceOf(Class<?> type) { objects.assertIsExactlyInstanceOf(info, actual, type); return myself; }
@Override public ListAssert<ELEMENT> isExactlyInstanceOf(Class<?> type) { if (actual instanceof ListFromStream) { objects.assertIsExactlyInstanceOf(info, asListFromStream().stream, type); return myself; } return super.isExactlyInstanceOf(type); }
@Override public ProxyableListAssert<ELEMENT> isExactlyInstanceOf(Class<?> type) { if (actual instanceof ProxyableListAssert.ListFromStream) { objects.assertIsExactlyInstanceOf(info, asListFromStream().stream, type); return myself; } return super.isExactlyInstanceOf(type); }
@Override public IterableAssert<ELEMENT> isExactlyInstanceOf(Class<?> type) { if (actual instanceof LazyIterable) { objects.assertIsExactlyInstanceOf(info, asLazyIterable().iterator, type); return myself; } return super.isExactlyInstanceOf(type); }
@Override public ListAssert<ELEMENT> isExactlyInstanceOf(Class<?> type) { if (actual instanceof ListFromStream) { objects.assertIsExactlyInstanceOf(info, asListFromStream().stream, type); return myself; } return super.isExactlyInstanceOf(type); }
@Override public ProxyableListAssert<ELEMENT> isExactlyInstanceOf(Class<?> type) { if (actual instanceof ProxyableListAssert.ListFromStream) { objects.assertIsExactlyInstanceOf(info, asListFromStream().stream, type); return myself; } return super.isExactlyInstanceOf(type); }
/** {@inheritDoc} */ @Override public S isExactlyInstanceOf(Class<?> type) { objects.assertIsExactlyInstanceOf(info, actual, type); return myself; }