Examining China's foreign direct investment inflows as a function of the imperfections in their economy.