Only an AC-130 with the cannon can be “shelling” as far as I know.
A-10 could be accused of shelling.
Actually very few Fighter aircraft in the US arsenal have “machine guns” but rather only cannons.
f-18 has the M61A1/A2 Vulcan 20mm cannon
F-16 has an internal M61 Vulcan cannon
F-15 has the M-61A1 20mm Vulcan cannon
F-22 has the newer M61A2 cannon
F-35 the GAU-22/A 25 mm 4-barreled gatling cannon