Highlight references to deprecated things accordingly

#KT-2925 Fixed
This commit is contained in:
Natalia.Ukhorskaya
2012-10-12 15:23:04 +04:00
parent 2f2941fe5b
commit 20352b3810
17 changed files with 625 additions and 0 deletions
@@ -0,0 +1,19 @@
fun test() {
val c = MyClass()
c.<info descr="'getter for test1' is deprecated">test1</info>
c.<info descr="'getter for test2' is deprecated">test2</info>
c.test2 = ""
c.<info descr="'val test3' is deprecated">test3</info>
}
class MyClass() {
<info>public</info> val <info>test1</info>: String = ""
[Deprecated] <info descr="null">get</info>
<info>public</info> var <info>test2</info>: String = ""
[Deprecated] <info descr="null">get</info>
Deprecated <info>public</info> val <info>test3</info>: String = ""
[Deprecated] <info>get</info>
}