Start United States USA — software IntelliJ IDEA 2017.2 EAP: Now With Smarter Control Flow Analysis IntelliJ IDEA...

IntelliJ IDEA 2017.2 EAP: Now With Smarter Control Flow Analysis IntelliJ IDEA 2017.2 EAP: Now With Smarter Control Flow Analysis

367
0
TEILEN

IntelliJ IDEA’s latest build offers better control flow analysis, improved nullability reporting, expression checks for spring literals, and Java 9 migration.
Earlier we mentioned that IntelliJ IDEA 2017.2 EAP features improved control flow analysis that infers the contracts of certain methods of String, Array, Collection, and Map classes.
With today’s EAP build, this analysis becomes even smarter. If that sounds like something you might be interested in, read on and see how the new checks are going to work.
When you are trying to pass a collection that may contain null values where a collection with non-nullable items is expected, you get a warning that you probably shouldn’ t:
Just the same way IntelliJ IDEA will make sure you’ re safe when iterating over a collection that may contain null values:
This new build has two improvements specifically aimed to help with migration to Java 9.
Doing so may significantly improve the performance of your code.
Last, but not least, you can pause file indexing if you need to free CPU to do other tasks, and then resume it again when it’s appropriate:
That’s it for now. We hope you’ ll enjoy these improvements, and give the new build a try. You can download it right from the website, or update via Toolbox App. Patches for the in-product update should also be available if you’ re using previous EAP build.

Continue reading...