Get paths of a method