Intention&inspection to use synthetic property instead of get/set method call
This commit is contained in:
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
// WITH_RUNTIME
|
||||
import java.io.File
|
||||
|
||||
class MyFile : File("file") {
|
||||
override fun getCanonicalFile(): File {
|
||||
return super.getCanonicalFile()
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(file: MyFile) {
|
||||
file.getCanonicalFile()<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user