Reports top-level val properties in objects that might be declared as const for better performance and Java interoperability.

Example:


  object A {
      val foo = 1
  }

After the quick-fix is applied:


  object A {
      const val foo = 1
  }
For library authors: using const for public API symbols is dangerous as two different values may be used if the compile-time version of the library is not the same as the run-time version of the library. Use with caution.