Reapply "Drop deprecated displayName from descriptor visibility"

Cancel revert due to update in kotlin-mirror/master in native
This reverts commit 39e0c6d55b
This commit is contained in:
Pavel Kirpichenkov
2019-12-12 11:07:15 +03:00
parent 6e19004a4f
commit 8dc2784fc4
@@ -64,14 +64,6 @@ abstract class Visibility protected constructor(
open val externalDisplayName: String
get() = internalDisplayName
@Deprecated(
"Visibility.displayName is deprecated, use internalDisplayName instead",
ReplaceWith("internalDisplayName"),
level = DeprecationLevel.WARNING
)
open val displayName: String
get() = internalDisplayName
override final fun toString() = internalDisplayName
open fun normalize(): Visibility = this