How we dealt with poor code analysis support in our generator, metaclasses, and code generation heavy projects