class MissingAssignmentNoViolationPredicate implements ViolationPredicate {

    @Override
    public Optional<Boolean> apply(Overlap overlap) {
        if (missesOnlyAssignmentsAndExclusiveAssignmentParameters(overlap))
            return Optional.of(false);
        else
            return Optional.empty();
    }

}