SI-8875 showCode should print all class constructor modifiers.

showCode used to print nothing when the only modifier was a change in
visibility scope (i.e. no flags but privateWithin is set).
Merge pull request #4045 from gourlaysama/wip/t8875-show-code

SI-8875 showCode should print all class constructor modifiers.