Auto-generate @constructor, @extends, @memberOf, @private and @static from TypeScript AST.
Nested rotations.