如果您的代码引用了未声明的方法或字段,您可以快速声明它。要声明具有正确签名或类型的方法,请按 &shortcut:ShowIntentionActions; 并选择 创建方法 <method_name>。