diff --git a/compiler/testData/builtin-classes-kotlin.txt b/compiler/testData/builtin-classes-kotlin.txt index 3559968abb3..58b75d8943d 100644 --- a/compiler/testData/builtin-classes-kotlin.txt +++ b/compiler/testData/builtin-classes-kotlin.txt @@ -20,7 +20,6 @@ public fun floatArrayOf(/*0*/ vararg elements: kotlin.Float /*kotlin.FloatArray* public fun intArrayOf(/*0*/ vararg elements: kotlin.Int /*kotlin.IntArray*/): kotlin.IntArray public fun longArrayOf(/*0*/ vararg elements: kotlin.Long /*kotlin.LongArray*/): kotlin.LongArray public fun shortArrayOf(/*0*/ vararg elements: kotlin.Short /*kotlin.ShortArray*/): kotlin.ShortArray -@kotlin.Deprecated(message = "This function is deprecated, use === instead", replaceWith = kotlin.ReplaceWith(expression = "this === other", imports = {})) public fun kotlin.Any?.identityEquals(/*0*/ other: kotlin.Any?): kotlin.Boolean public operator fun kotlin.String?.plus(/*0*/ other: kotlin.Any?): kotlin.String public fun kotlin.Any?.toString(): kotlin.String @@ -313,10 +312,6 @@ public abstract class Enum> : kotlin.Comparable { } } -@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE}) @kotlin.annotation.MustBeDocumented() @kotlin.Deprecated(message = "Use @ExtensionFunctionType instead.", replaceWith = kotlin.ReplaceWith(expression = "@ExtensionFunctionType", imports = {})) public final annotation class Extension : kotlin.Annotation { - /*primary*/ public constructor Extension() -} - @kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE}) @kotlin.annotation.MustBeDocumented() public final annotation class ExtensionFunctionType : kotlin.Annotation { /*primary*/ public constructor ExtensionFunctionType() } @@ -399,10 +394,6 @@ public final class FloatArray : kotlin.Cloneable { public interface Function { } -@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.CONSTRUCTOR}) @kotlin.annotation.Retention(value = AnnotationRetention.BINARY) @kotlin.annotation.MustBeDocumented() @kotlin.Deprecated(message = "Use @Deprecated("...", level = DeprecationLevel.HIDDEN) instead", replaceWith = kotlin.ReplaceWith(expression = "@Deprecated(, level = DeprecationLevel.HIDDEN)", imports = {})) public final annotation class HiddenDeclaration : kotlin.Annotation { - /*primary*/ public constructor HiddenDeclaration() -} - public final class Int : kotlin.Number, kotlin.Comparable { /*primary*/ private constructor Int() public final infix fun and(/*0*/ other: kotlin.Int): kotlin.Int @@ -578,11 +569,6 @@ public abstract class Number { public abstract fun toShort(): kotlin.Short } -@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Please use KProperty instead.", replaceWith = kotlin.ReplaceWith(expression = "KProperty<*>", imports = {"kotlin.reflect.KProperty"})) internal interface PropertyMetadata { - public abstract val name: kotlin.String - public abstract fun (): kotlin.String -} - @kotlin.annotation.Target(allowedTargets = {}) @kotlin.annotation.Retention(value = AnnotationRetention.BINARY) @kotlin.annotation.MustBeDocumented() public final annotation class ReplaceWith : kotlin.Annotation { /*primary*/ public constructor ReplaceWith(/*0*/ expression: kotlin.String, /*1*/ vararg imports: kotlin.String /*kotlin.Array*/) public final val expression: kotlin.String diff --git a/idea/testData/decompiler/builtIns/kotlin_package.stubs b/idea/testData/decompiler/builtIns/kotlin_package.stubs index e0795031c9b..d883e2cd942 100644 --- a/idea/testData/decompiler/builtIns/kotlin_package.stubs +++ b/idea/testData/decompiler/builtIns/kotlin_package.stubs @@ -449,34 +449,6 @@ PsiJetFileStubImpl[package=kotlin] USER_TYPE:[isAbsoluteInRootPackage=false] REFERENCE_EXPRESSION:[referencedName=kotlin] REFERENCE_EXPRESSION:[referencedName=ShortArray] - FUN:[fqName=kotlin.identityEquals, hasBlockBody=true, hasBody=true, hasTypeParameterListBeforeFunctionName=false, isExtension=true, isTopLevel=true, name=identityEquals] - MODIFIER_LIST:[public] - ANNOTATION_ENTRY:[hasValueArguments=false, shortName=Deprecated] - CONSTRUCTOR_CALLEE: - TYPE_REFERENCE: - USER_TYPE:[isAbsoluteInRootPackage=false] - USER_TYPE:[isAbsoluteInRootPackage=false] - REFERENCE_EXPRESSION:[referencedName=kotlin] - REFERENCE_EXPRESSION:[referencedName=Deprecated] - TYPE_REFERENCE: - NULLABLE_TYPE: - USER_TYPE:[isAbsoluteInRootPackage=false] - USER_TYPE:[isAbsoluteInRootPackage=false] - REFERENCE_EXPRESSION:[referencedName=kotlin] - REFERENCE_EXPRESSION:[referencedName=Any] - VALUE_PARAMETER_LIST: - VALUE_PARAMETER:[fqName=null, hasDefaultValue=false, hasValOrVar=false, isMutable=false, name=other] - TYPE_REFERENCE: - NULLABLE_TYPE: - USER_TYPE:[isAbsoluteInRootPackage=false] - USER_TYPE:[isAbsoluteInRootPackage=false] - REFERENCE_EXPRESSION:[referencedName=kotlin] - REFERENCE_EXPRESSION:[referencedName=Any] - TYPE_REFERENCE: - USER_TYPE:[isAbsoluteInRootPackage=false] - USER_TYPE:[isAbsoluteInRootPackage=false] - REFERENCE_EXPRESSION:[referencedName=kotlin] - REFERENCE_EXPRESSION:[referencedName=Boolean] FUN:[fqName=kotlin.plus, hasBlockBody=true, hasBody=true, hasTypeParameterListBeforeFunctionName=false, isExtension=true, isTopLevel=true, name=plus] MODIFIER_LIST:[public operator] TYPE_REFERENCE: diff --git a/idea/testData/decompiler/builtIns/kotlin_package.text b/idea/testData/decompiler/builtIns/kotlin_package.text index 13ddef7c0b2..f1847db3e14 100644 --- a/idea/testData/decompiler/builtIns/kotlin_package.text +++ b/idea/testData/decompiler/builtIns/kotlin_package.text @@ -43,8 +43,6 @@ public fun longArrayOf(vararg elements: kotlin.Long): kotlin.LongArray { /* comp public fun shortArrayOf(vararg elements: kotlin.Short): kotlin.ShortArray { /* compiled code */ } -@kotlin.Deprecated public fun kotlin.Any?.identityEquals(other: kotlin.Any?): kotlin.Boolean { /* compiled code */ } - public operator fun kotlin.String?.plus(other: kotlin.Any?): kotlin.String { /* compiled code */ } public fun kotlin.Any?.toString(): kotlin.String { /* compiled code */ }