Code inspections
Intentions
You’ve been using IntelliJ for a while now. I’m pretty sure you’ve seen the light bulbs (both red and yellow), the yellow triangles with an exclamation mark, and the green check sign with a squiggly line below — these are the icons that IntelliJ uses to tell us that there’s something wrong with the code. They’re called inspection icons. We’ll talk about them in this chapter.
Code Inspections
IntelliJ IDEA is intelligent (pun intended); it knows more about your code than you do. As you type, it’s working hard in the background ...