The following properties are reported:
You can specify the required pattern in the inspection options.
Recommended naming conventions: it has to start with an uppercase letter, use camel case and no underscores.
Example:
// top-level property
val USER_NAME_FIELD = "UserName"
// top-level property holding reference to singleton object
val PersonComparator: Comparator<Person> = /*...*/
class Person {
companion object {
// property in companion object
val NO_NAME = Person()
}
}