printed Java rewrite engine statistics only when --statistics is on
Merge branch 'master' into fixing-issue-987
Merge pull request #992 from yilongli/fixing-issue-987

printed Java rewrite engine statistics only when --statistics is on