Reports character literals that are used without constant declaration. These characters might result in bad code readability. Also, there might be errors if a character is changed only in one location but not everywhere in code.
char c = 'c';
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3