F-22 was suppose to replace the F-15. The F-35 is suppose to replace the F-16, the F-14 and the Harrier.
You mean the F-18. Tomcats (F-14s) have been retired for awhile now.
So neither did neither.