When you are injecting a language, IntelliJ IDEA suggests adding Spring entities, such as bean names and resource paths. Press &shortcut:ShowIntentionActions; and select Inject language or reference | Spring Bean Name.

Injecting Spring entities