Implementation behind of parseXmlConfiguration please?

Continuing the discussion from Slow loading of cockpit process instance statistics:

Could anyone show me the implementation of this function as I couldn’t find it anywhere, thanks.