tramp-find-method

tramp-find-method is a compiled Lisp function in `tramp.el'.

(tramp-find-method METHOD USER HOST)

Return the right method string to use.
This is METHOD, if non-nil. Otherwise, do a lookup in
`tramp-default-method-alist'. It maps also obsolete methods to
their replacement.