I personally think the gun is greatly overrated in a high altitude super cruising stealth fighter, and only made it into the f-22 because of lingering influence of the fighter mafia. If j-20 doesn't have one, it would mean it's designers were allowed to be more clear headed about what they are designing.
The F-22 and the F-35A both have very capable guns, the F-35B and C have no internal gun because of weight issues with those two aircraft, each being considerably heavier than the A model, and on the B the lift fan and associated hardware make space unavailable for an internal gun.
In addition the B has a 7G max, the C has a 7.5 G max, while the A model is maxed at 9Gs in operational configuration, and yes it is a "gunfighter". There is a more pragmatic cadre of aviators that believe as does Blitzo, that a fighter without a gun, is kinda like Barney Fife? "all holster, no gun".