find-method refactor: 'pattern' becomes a method