即使尚未创建 Spring Bean,也可以进行引用。按 &shortcut:ShowIntentionActions; 在不离开当前编辑位置的情况下创建必要的 Bean。

Creating a Spring bean from usage