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

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