Deprecate IrDeclaration.descriptor and IrSymbol.descriptor

This commit is contained in:
Mikhail Glukhikh
2020-05-20 17:05:33 +03:00
parent b05a1bb1a2
commit bb2e58b6a4
2 changed files with 5 additions and 0 deletions
@@ -33,7 +33,9 @@ interface IrMetadataSourceOwner : IrElement {
}
interface IrDeclaration : IrStatement, IrMutableAnnotationContainer, IrMetadataSourceOwner {
@Deprecated("Please use IR declaration properties and not its descriptor properties")
val descriptor: DeclarationDescriptor
var origin: IrDeclarationOrigin
var parent: IrDeclarationParent
@@ -27,7 +27,10 @@ import org.jetbrains.kotlin.types.model.TypeParameterMarker
interface IrSymbol {
val owner: IrSymbolOwner
@Deprecated("Please use IR declaration properties and not its descriptor properties")
val descriptor: DeclarationDescriptor
val isBound: Boolean
val signature: IdSignature