protected MultiTypeSafeMatcher(ReflectiveTypeFinder typeFinder) { this.expectedMainType = typeFinder.findExpectedType(getClass()); }
protected CheckAndDiagnoseTogetherMatcher(ReflectiveTypeFinder typeFinder) { super(typeFinder); }
protected PathAwareDiagnosingMatcher(ReflectiveTypeFinder typeFinder) { this.expectedType = typeFinder.findExpectedType(getClass()); }
public CompositeMatcher(ReflectiveTypeFinder typeFinder) { super(typeFinder); }
/** * Use this constructor if the subclass that implements <code>matchesSafely</code> * is <em>not</em> the class that binds <T> to a type. * @param typeFinder A type finder to extract the type */ protected TypeSafeDiagnosingMatcher(ReflectiveTypeFinder typeFinder) { this.expectedType = typeFinder.findExpectedType(getClass()); }
/** * Use this constructor if the subclass that implements <code>matchesSafely</code> * is <em>not</em> the class that binds <T> to a type. * @param typeFinder A type finder to extract the type */ protected TypeSafeMatcher(ReflectiveTypeFinder typeFinder) { this.expectedType = typeFinder.findExpectedType(getClass()); }
/** * Use this constructor if the subclass that implements <code>matchesSafely</code> is <em>not</em> the class that binds <T> to a * type. * * @param typeFinder * A type finder to extract the type */ protected TypeSafeDiagnosingMatcher(final ReflectiveTypeFinder typeFinder) { this.expectedType = typeFinder.findExpectedType(getClass()); }