Deberia ser "Zend\Code\Generator\MethodGenerator".