Why is Intellij showing a cross (x) over the class icon for one of my Java classes?

JavaIntellij Idea

Java Problem Overview


The icon that IntelliJ (v11.1) usually shows next to Java classes is a blue circle with a C. But for one of my classes this icon has a small "x" in the top left corner. This particular class is in a package with another class, which has just the usual C in a blue circle.

In case it matters, I'm using a Mac.

The class in question is AlertsHandler.

enter image description here

Java Solutions


Solution 1 - Java

This icon shows that the class is excluded from the compilation, it can be changed in Settings (Preferences on Mac) | Compiler | Excludes.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionvegemite4meView Question on Stackoverflow
Solution 1 - JavaCrazyCoderView Answer on Stackoverflow