Inspection: Method does not use "this"
So, in Java, there is the IntelliJ inspection “method may be static”. Anybody found an equivalent inspection for Kotlin? I mean an inspection reporting methods in classes which do not use instances of the class, or in other words, do not use the “this” reference. Such methods could/should be moved to top level or companion objects.
1 post - 1 participant
Read full topic