There is no “contrarian” play for strong rumors of war. Ukraine proved that. Actually, every conflict in the last 100 years proved that. Germany was rumored to be on a war footing in 1938/1939 and of course they did it.
If China says they will attack, I can believe that they will. Good luck with your “longs”.
Of course, I have been predicting global war for over a year now, and everything seems on track. The Taiwan strait is not a good time to cross, Sep/Oct is a good time.