ARELLE-297 migrate statement table code detection to core object model