要显式指定变量或表达式的类型,请按 &shortcut:ShowIntentionActions; 并选择 添加显式类型:

Add explicit type