Change tooltip message for deprecated items

This commit is contained in:
Natalia.Ukhorskaya
2012-10-24 11:56:43 +04:00
parent 4db732c11b
commit cacb2a6761
13 changed files with 118 additions and 85 deletions
@@ -1,19 +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.<info descr="'getter for test1' is deprecated. Use A instead">test1</info>
c.<info descr="'getter for test2' is deprecated. Use A instead">test2</info>
c.test2 = ""
c.<info descr="'val test3' is deprecated">test3</info>
c.<info descr="'val test3' is deprecated. Use A instead">test3</info>
}
class MyClass() {
<info>public</info> val <info>test1</info>: String = ""
[deprecated("'getter for test1' is deprecated")] <info>get</info>
[deprecated("Use A instead")] <info>get</info>
<info>public</info> var <info>test2</info>: String = ""
[deprecated("'getter for test2' is deprecated")] <info>get</info>
[deprecated("Use A instead")] <info>get</info>
deprecated("'val test3' is deprecated") <info>public</info> val <info>test3</info>: String = ""
[deprecated("'getter for test3' is deprecated")] <info>get</info>
deprecated("Use A instead") <info>public</info> val <info>test3</info>: String = ""
[deprecated("Use A instead")] <info>get</info>
}