Unable to call addResolveTargetEntity() via addMethodCall().