updated the MethodResolverImpl