Some properties refer to other beans by name. This is often the case for infrastructure beans that are part of spring. These must sometimes refer to a bean that has scope prototype, and cannot use a regular bean reference for that reason.
IDEA (of course) does not recognize such references, but treats them as a regular properties of type String.
Perhaps a converter could be added that knows about some properties from Spring infrastructure classes that refer to bean names.
The benefit would be that such references are recognized, and included in "Find Usages", "Rename", etc.
Attached patch includes a hacked-together implementation: I've copy-pasted some code from SpringBeanReference, and the configuration format is a bit wacky. I can clean it up, but I'm curious to know what you think about the idea.
Some properties refer to other beans by name. This is often the case for infrastructure beans that are part of spring. These must sometimes refer to a bean that has scope prototype, and cannot use a regular bean reference for that reason.
IDEA (of course) does not recognize such references, but treats them as a regular properties of type String.
Perhaps a converter could be added that knows about some properties from Spring infrastructure classes that refer to bean names.
The benefit would be that such references are recognized, and included in "Find Usages", "Rename", etc.
Attached patch includes a hacked-together implementation: I've copy-pasted some code from SpringBeanReference, and the configuration format is a bit wacky. I can clean it up, but I'm curious to know what you think about the idea.