Want IntelliJ IDEA T-Shirt?
Visit our Apparel Store!
Tag Archives: Code Analysis
With the latest Maia EAP Groovy language support is improved with several new GStrings intention actions. Now you can convert string concatenations to GStrings… …and back simply by pressing Alt+Enter, Enter. Also, IntelliJ IDEA is now aware of that braces … Continue reading
Occasionally implementing a Listener leads to an explosion of ugly empty boiler-plate methods. In such cases it is usually better to extend a matching adapter class and only override the needed methods. The next IntelliJ IDEA Maia EAP build will … Continue reading
Upcoming IntelliJ IDEA version, Maia brings you an improved version of the Dataflow to this feature and the completely new Dataflow from this. Here I am describing how these features work and how they can help you the Code Archeologists … Continue reading
Google Web Toolkit 1.6 replaces EventListener class with EventHandler, so the existing code base needs an upgrade. In most cases IntelliJ IDEA can do this automatically — all you need to do is to press Alt+Enter on a highlighted listener … Continue reading
Two-way synchronization between different data models is a common routine task and often developers are stuck with manual copying of data from one model to another for many reasons: model complexity, impossibility to create a simple binding, etc. For example, … Continue reading
Thanks to improvements in the internal indexes behind the Intellij IDEA code insight engine, Maia will be able to instantly highlight some java classes, methods and fields which are unused across the entire project. To use the feature, enable the Unused … Continue reading
IntelliJ IDEA code analyzer will be extended with WebBeans-specific inspections in the upcoming Maia release:Here’s the example of how they work:
Though assert statements are very useful when it comes to checking runtime assumptions, using them to verify conditions that are constant is not so wise. Assert conditions that always evaluate to true are particularly unnecessary because they will never throw … Continue reading