Chinese law is a mixture of (1) and (2), i.e., a socialist legal system with Chinese characteristics.