Provide inspection and quickfixes for usages of static fields which will be no longer accessible in future versions
For this inspection three kinds of fixes are potentially available: - Add 'const' modifier to kotlin property - Add '@JvmField' annotation to kotlin property - Change field reference to getter invocation In case user chooses to 'cleanup code', these fixes are prioritized in this order
This commit is contained in:
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
package a
|
||||
|
||||
object Obj {
|
||||
val property = A()
|
||||
}
|
||||
|
||||
class A
|
||||
Reference in New Issue
Block a user