public static class ThrowableTransformer.Impl<T,E extends Throwable> extends Transformer.Base<ThrowableTransformer<T,E>,ThrowableChecker<T,E>,T,E> implements ThrowableTransformer<T,E>
ThrowableTransformer.Impl<T,E extends Throwable>
Transformer.Base<TX extends Transformer<TX,V,T,R>,V extends Checker<V,T,R>,T,R>
Matcher.JunctionType
Constructor and Description |
---|
Impl(Supplier<T> baseValue,
Function<T,E> transformFunction) |
Modifier and Type | Method and Description |
---|---|
protected ThrowableTransformer<E,E> |
rebase()
Override this method so that it returns extending class.
|
ThrowableChecker<T,E> |
toChecker(Function<T,E> transformFunction) |
addTransformAndCheckClause, checkWithPredicate, statementPredicate, statementValue, then, transformValueWith
addPredicate, allOf, anyOf, baseValue, childPredicates, hasNoChild, me, toPredicate, transformFunction, value
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, getCause, getMessage, transform
asObject, expectException, invoke, invokeStatic, stringify, toBoolean, toDouble, toFloat, toInteger, toList, toLong, toObject, toShort, toStream, toString, toThrowable
addTransformAndCheckClause, checkWithPredicate, done, satisfies, then, toBe, transformValueWith
allOf, anyOf, toPredicate, transformFunction
booleanValue, createPredicateForAllOf, doubleValue, floatValue, integerValue, listValue, longValue, objectValue, shortValue, statementPredicate, statementValue, streamValue, stringValue, throwableValue
public ThrowableChecker<T,E> toChecker(Function<T,E> transformFunction)
toChecker
in class Transformer.Base<ThrowableTransformer<T,E extends Throwable>,ThrowableChecker<T,E extends Throwable>,T,E extends Throwable>
protected ThrowableTransformer<E,E> rebase()
Matcher.Base
Override this method so that it returns extending class.
rebase
in class Matcher.Base<ThrowableTransformer<T,E extends Throwable>,T,E extends Throwable>
Copyright © 2024. All rights reserved.