MPS-17604 Stack overflow in make: extends of inner class got exposed as extends of top-level class, leading to circular dependency. Suggested solution is to report extends dependencies of inner classifiers as regular 'depends'.
BaseLanguageTextGen utility class got refactored, superfluous isInstanceOf(Interface) check dropped as it is not a TextGen's responsibility to verify model validness, rather it shall serialize stuff as is.