See the title.
I'm trying to put @CompileStatic on some of the methods in my Sonos Advanced app but need to import groovy.util.slurpersupport.NodeChildren
to work with the XML, as well as a few others.
We can already import groovy.xml.slurpersupport.GPathResult
, but none of the subclasses for it.
Complete list:
groovy.xml.slurpersupport.Attribute
groovy.xml.slurpersupport.NoChildren
groovy.xml.slurpersupport.NodeChild
groovy.util.slurpersupport.NodeChildren
The Sonos Advanced App is pretty heavy, and on an active Sonos system ends up needing to process thousands of XML file an hour, so every bit of speed I can get is good. Plus then I can have better type safety on this code.
Tagging @gopher.ny for awareness. Based on some previous posts, it seems that this is perhaps your wheelhouse?