withCondition
Creates a new condition with the specified condition.
This method implements the RewritableCondition interface by returning the new condition directly, as Condition is immutable and doesn't need to preserve existing state.
Return
The new condition.
Parameters
newCondition
The new condition to use.