[FIXED JENKINS-25118] Matches primitives and wrapper types when matching methods.