Hotfix/fqcn class extends implements

This PR is a BC break. 

Similar to #4149, it is currently problematic to generate multiple classes into the same file. 

This PR introduces fully qualified class names for the `extends` and `implements` clauses in generated code.