Plugin for detecting dead or unused code

Is there any plugin for IntelliJ IDEA that can identify unused or dead code in a project? By “dead code,” I mean code that has no references anywhere in the project and is not referenced by any configuration files.

Hi,
can you be more specific? AFAIU, at least Java and Kotlin do detect unused classes, methods and fields etc.