Parses a method pattern (consisting of a name pattern, followed by an optional parameters
pattern) into a MethodFilter . In most cases, the
patterns will require several checks (i.e., match against name, match against parameters) in
which case a CompositeFilter is returned.