There is no indication that the current version of J-20 has a gun.
That door is the indication. The external access panel design on the prototype was also an obvious give away that what is under that door is a gun and not the APU.
I find it hard to fathom how people could honestly conclude that just because the external panneling was changed on the production models, to give better RCS performance, that they suddenly changed the internal structure also to take out the gun.
The alternative theory that the door is for the APU does not pass the simple logic test of why the door needs to be where it is.
Just look at where the APU on the F22. That is designed so that the door is deliverably hidden form the front, to eliminate another possible source of RCS spike.
The F35 is in a different league since it is designed primarily for AG, and is a much smaller platform, meaning the designers had much less room to work with; and also had to make additional compromises to account for the 3 versions.
Point is the J20 is a much bigger aircraft, and is designed primarily, maybe even exclusively, for AA. That means frontal aspect stealth matters the most for it; and it has plenty of real estate to play around to mount the APU intake somewhere where it is not even a possibility that it could cause a RCS spike.
With the J20 designed form the offset to counter the F22, it would be an unfathomable omission to not include a gun when a F22-J20 encounter is more likely than not to go into, and be decided in, WVR.