Japan, which we have seen has declined since the end of the Cold War, is nevertheless a wealthy country, with highly advanced technologies and innovative capacities.
Its military may be constrained, but its naval forces are still formidable and China still fears its potential.
The two cooperate and compete, especially in Southeast Asia. Japan and China may be seen as both partners and rivals.