Added second quickfix on conflicting extension to mark it hidden and deprecated

This commit is contained in:
Valentin Kipyatkov
2015-08-31 23:43:02 +03:00
parent b2ea369129
commit 086d29a44a
36 changed files with 91 additions and 31 deletions
@@ -0,0 +1,5 @@
// "Mark with @HiddenDeclaration and @deprecated" "true"
import java.io.File
val File.<caret>name: String
get() = getName()
@@ -0,0 +1,7 @@
// "Mark with @HiddenDeclaration and @deprecated" "true"
import java.io.File
@HiddenDeclaration
@deprecated("Is replaced with automatic synthetic extension", ReplaceWith("name"))
val File.<caret>name: String
get() = getName()