I added this line:
 
tranFactory.setAttribute(FeatureKeys.LINE_NUMBERING,Boolean.TRUE);
 
And now I see line numbers for <source/> nodes but I still do not receive any references from the InstructionInfo class processed by enter().  This function is never getting called.