contains メンバーの呼び出しを in 演算子に置換します。

例:

a.contains(b)

クイックフィックス適用後:

b in a