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