王世怡 from the guancha gang had suggested Y-9 with guns may be produced for drone hunting.
This is a thing. Ukraine has been using AN28s configured with M134 Gatling guns similar to old AC47 Spooky. We have seen in Epic Fury Shahed drones being attacked by attack choppers and the like.
So this could be the PLAAF looking at such a concept based off concerns for systems like LUCAS drones.
(assuming it even is a ground attack variant to begin with, or that such a variant even exists)
The anti aircraft gun systems easily duel role as anti vehic and anti personnel systems.
An AC130J hasn’t been deployed against drones but its 30mm cannons are of the same type used in a number of anti aircraft systems.
Even if it’s only packing .30 caliber Gatling guns that’s still a lot of firepower from the sky.
If it’s packing launcher pylons then it’s probably either to launch smaller UAS possibly including one way drones.