<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_methods_by_name(self, name):
 """ generator of methods matching name. This will include any bridges present. """


        return (m for m in self.methods if m.get_name() == name)