def get_methods(self):
l = []<EOL>for i in self.classes.class_def:<EOL><INDENT>for j in i.get_methods():<EOL><INDENT>l.append(j)<EOL><DEDENT><DEDENT>return l<EOL>
Return all method objects

:rtype: a list of :class:`EncodedMethod` objects