solveMethod

We find the method declaration which is the best match for the given name and list of typeParametersValues.