Class QuantifierMatcher<T extends Quantifier>

    • Method Detail

      • ofKind

        @Nonnull
        public static <Q extends QuantifierQuantifierMatcher<Q> ofKind​(@Nonnull
                                                                         Class<? extends Q> quantifierClass,
                                                                         @Nonnull
                                                                         ExpressionMatcher<? extends Bindable> rangesOverMatcher)
        Matches a subclass of Quantifier together with the given matcher for its rangesOver().
        Type Parameters:
        Q - class of specific flavor of quantifier to match
        Parameters:
        quantifierClass - class specific flavor of quantifier to match
        rangesOverMatcher - matcher for the rangesOver expression reference
        Returns:
        a matcher matching a for each quantifier together with the given matcher for the reference it ranges over