package rocks.matchmaker;

import java.util.function.Predicate;

public interface Predicates {

    static <T> Predicate<Object> assuming(Class<T> targetClass, Predicate<T> predicate) {
        return (x) -> (targetClass.isInstance(x)) && predicate.test(targetClass.cast(x));
    }
}

@@ -130,16 +130,20 @@
 assuming
+Type
 (Class%3CT

Rename `Predicate.assuming` to `assumingType`