Back to Intellij Community

IllegalIdentifier

plugins/kotlin/code-insight/descriptions/resources-en/inspectionDescriptions/IllegalIdentifier.html

2025.3-rc-2280 B
Original Source

Reports Android projects identifiers that are not accepted by the Android runtime. For example, method names with whitespaces.

Example:

class Test {
      var `a b c` = 3
  }

To fix the problem change the identifier's name to match the Android runtime requirements.