The F-35 is NOT replacement for the F-22.
The F-22 is an air superiority fighter, replacing the F-15. The F-35 is the Joint Strike Fighter, and is meant for a completely different role. In the Air Force, it will replace the F-16. In the Navy and Marines, it will have different packages to...