thrift/thrift-gen/wrap.go
func (s *Service) InheritedMethods() []string {
	if s.inheritedMethods != nil {
		return s.inheritedMethods
	}

	for svc := s.ExtendsService; svc != nil; svc = svc.ExtendsService {
		for m := range svc.Service.Methods {
			s.inheritedMethods = append(s.inheritedMethods, m)
		}
	}
	sort.Strings(s.inheritedMethods)

	return s.inheritedMethods
}
func (s *Service) InheritedMethods() []string {
	if s.inheritedMethods != nil {
		return s.inheritedMethods
	}

	for svc := s.ExtendsService; svc != nil; svc = svc.ExtendsService {
		for m := range svc.Service.Methods {
			s.inheritedMethods = append(s.inheritedMethods, m)
		}
	}
	sort.Strings(s.inheritedMethods)

	return s.inheritedMethods
}
// InheritedMethods returns names for inherited methods on this service.