This 4th gen business is very tricky. A lot of it is just marketing or political.
When the MKI came out, both India and Russia called it 4.5th gen and 4+. And it was indeed half a generation ahead of aircraft like the F-16 B52 and M2000 in some ways. But once the Rafale and Su-35 came into the picture, India downgraded MKI to 4th gen and the Russians started calling Su-35 4++. So the definition is flexible.
Rightfully, the Su-27 is 4th gen, MKI/Su-35 are 4.5th gen, Rafale/Typhoon are 5th gen and F-22/F-35 are 6th gen. Rafale and Typhoon had 50-100 times lower frontal RCS than 4th gen and could supercruise, so there's no way these capabilities are 4th gen.
But the Russians decided to call the F-22 5th gen instead of 6th gen as a marketing ploy, and that stuck because it suited the Americans too. What it did is give the Flanker, Fulcrum, Eagle and Viper false equivalence to the Rafale and Typhoon, when in fact Rafale and Typhoon were much more similar to the Su-47 Berkut and Mig 1.44, ie, a generation ahead. The Russians were pretty clever in that respect. So, now the French are just stuck with a "next gen" claim for Rafale.
In any case, LX1111 was correct about the Irbis-E being overhyped, but he's wrong about the Bars. Bars is obviously inferior to the Irbis-E, and of course all the big American radars on the F-22, F-15EX and F-35, also the Rafale's AESA, but it's still similar to smaller radars like the APG-83 and Uttam Mk1.
The APG-83 has a maximum detection range of 160 nautical miles (nm) or 296 km against aerial targets. Against a 1m^2 radar cross section (RCS) target, the APG-83 has a range of approximately 72 nm (134.5 km) relative to the 38 nm (70 km) for the preceding APG-68(V)9.