如果预期类型是接口,则可以快速添加缺少的方法。要添加方法,请点击接口,按 &shortcut:ShowIntentionActions; 并选择 Implement missing methods

想要实现名称相似但形参集不同的方法时,此快速修复会很有用。

Add missing methods