typing: identify the node associated to method name