Intention&inspection to use synthetic property instead of get/set method call
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
fun foo(thread: Thread) {
|
||||
<spot>thread.daemon = true</spot>
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun foo(thread: Thread) {
|
||||
<spot>thread.setDaemon(true)</spot>
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection replaces calls to java get and set methods with use of Kotlin synthetic properties.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user