Spring Bean Support
IntelliJ IDEA is aware of the Spring beans that are part of your project. If you apply Find Usages on a property setter method, for example
Customer#setLastName(), and there is a Spring bean of the matching type and with the matching property being declared in a Spring XML file, IntelliJ IDEA will find it and will properly list it as a usage.
IntelliJ IDEA also respects Spring bean definitions during Safe Delete actions. On a side note, it does not make a difference whether Find Usages, Safe Delete, Rename Method, etc. are applied on the property setter method in the Java code or on the property attribute value in the Spring XML file.
You can also apply Goto Declaration (Ctrl-B or middle-button mouse click) on the name attribute’s value in the Spring XML file, for example on
lastname, and IntelliJ IDEA will take you to the property setter method in the Java code.
Subscribe to Blog updates
Thanks, we've got you!
The Best of IntelliJ IDEA’s HTTP Client
In today's fast-paced tech world, easy and efficient management of web services and APIs is crucial. That's where IntelliJ IDEA's HTTP Client steps in, turning complex HTTP requests into a walk in the park. The HTTP Client is a feature-rich, text-based tool in IntelliJ IDEA Ultimate. It seamlessl…
Profile on the Fly With the IntelliJ Profiler
At JetBrains, we believe that profiling should be simple and accessible to all developers, regardless of their level of expertise. That’s why the IntelliJ Profiler puts ease of use and seamless integration at the forefront of its mission. In previous releases, we introduced a range of features to s…
History of Gradle Delegation Process in IntelliJ IDEA
Nowadays, a build tool is an essential part of any project, and IntelliJ IDEA integrates with the majority of them. Among the most popular build tools is Gradle. We’d like to give a brief historical overview of its integration with IntelliJ IDEA and the delegation process implemented inside the I…
How to Work With Protobuf-Maven Projects in IntelliJ IDEA
Protobuf, short for Protocol Buffers, is a language-agnostic data serialization format developed by Google. It is designed to efficiently and reliably serialize structured data to communicate between different systems and programming languages. Protobuf offers a compact binary representation of data…