def class_declaration(self, type_):
utils.loggers.queries_engine.debug(<EOL>"<STR_LIT>", type_)<EOL>cls_declaration = self.get_container_or_none(type_)<EOL>if not cls_declaration:<EOL><INDENT>raise TypeError(<EOL>'<STR_LIT>' %<EOL>(type_.decl_string, self.name()))<EOL><DEDENT>return cls_declaration<EOL>
Returns reference to the class declaration.