class MissingCatchNoViolationPredicate implements ViolationPredicate {

    @Override
    public Optional<Boolean> apply(Overlap overlap) {
        return isMissingCatchOnly(overlap) || isMissingThrowOnly(overlap) ? Optional.of(false) : Optional.empty();
    }

}