you can just assign the value of the expression to the rawInsteadOfGeneric variable instead of using the condition