This pull-request ensures that if someone adds a use twice it is only added once to the file.
Please add a unit test for this functionality (I can see regressions in the future without a test for this!)
Test for issue #4990
Make sure that a use is only added once in ClassGenerator
This commit ensures that if someone adds a use twice it is only added once to the file.
Added unit test before fixing the bug.
Merge branch 'hotfix/4990' into develop
Forward port #4990
Merge branch 'hotfix/4990'