'List sub-definitions (e.g., methods in class).
:rtype: list of Definition'

@memoize_method
def defined_names(self):

    defs = self._name.infer()
    return sorted(common.unite((defined_names(self._evaluator, d) for d in defs)), key=(lambda s: (s._name.start_pos or (0, 0))))
