code: def get_methods(self):
          
          l = []
          for i in self.classes.class_def:
              for j in i.get_methods():
                  l.append(j)
          return l
docs: Return all method objects
  
            :rtype: a list of :class:`EncodedMethod` objects