Mark enum entries that are deprecated in Kotlin as deprecated in bytecode

This commit is contained in:
Pavel V. Talanov
2015-12-09 16:47:00 +03:00
parent 5bf8b4d946
commit fb19552920
6 changed files with 45 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
public enum E {
/**
* @deprecated
*/
@kotlin.Deprecated(message = "a")
Entry1, Entry2, /**
* @deprecated
*/
@kotlin.Deprecated(message = "b")
Entry3;
protected E() { /* compiled code */ }
}