Can I just add a penny's worth here, computing power increases as we all know Moore's Law, the systems in the F22 are ancient as I understand it.
There is implicitly no reason why all the on board systems from an F35 could not be put on a 4.5 generation plane as I understand it, obviously it would help that the F35's integrated helmet could be demonstrated to work.
That is if it was thought worth while changing out the sensor suite and architecture of a functioning aircraft to put in the F35's so superior systems...