Generate declarations for FAKE_OVERRIDE members

This commit is contained in:
Dmitry Petrov
2017-03-17 16:31:48 +03:00
parent 4ee1fb9309
commit a416cddcb2
84 changed files with 836 additions and 9 deletions
@@ -35,6 +35,7 @@ import org.jetbrains.kotlin.renderer.OverrideRenderingPolicy
import org.jetbrains.kotlin.resolve.BindingContext import org.jetbrains.kotlin.resolve.BindingContext
import org.jetbrains.kotlin.resolve.DescriptorUtils import org.jetbrains.kotlin.resolve.DescriptorUtils
import org.jetbrains.kotlin.resolve.scopes.DescriptorKindFilter import org.jetbrains.kotlin.resolve.scopes.DescriptorKindFilter
import org.jetbrains.kotlin.utils.addToStdlib.safeAs
import java.lang.AssertionError import java.lang.AssertionError
import java.util.* import java.util.*
@@ -53,6 +54,8 @@ class ClassGenerator(declarationGenerator: DeclarationGenerator) : DeclarationGe
generateMembersDeclaredInClassBody(irClass, ktClassOrObject) generateMembersDeclaredInClassBody(irClass, ktClassOrObject)
generateFakeOverrideMemberDeclarations(irClass)
if (descriptor.isData) { if (descriptor.isData) {
generateAdditionalMembersForDataClass(irClass, ktClassOrObject) generateAdditionalMembersForDataClass(irClass, ktClassOrObject)
} }
@@ -64,7 +67,20 @@ class ClassGenerator(declarationGenerator: DeclarationGenerator) : DeclarationGe
return irClass return irClass
} }
private object StableDelegatesComparator : Comparator<CallableMemberDescriptor> { private fun generateFakeOverrideMemberDeclarations(irClass: IrClass) {
irClass.descriptor.unsubstitutedMemberScope.getContributedDescriptors()
.mapNotNull {
it.safeAs<CallableMemberDescriptor>().takeIf {
it?.kind == CallableMemberDescriptor.Kind.FAKE_OVERRIDE
}
}
.sortedWith(StableCallableMembersComparator)
.forEach { fakeOverride ->
irClass.addMember(declarationGenerator.generateFakeOverrideDeclaration(fakeOverride))
}
}
private object StableCallableMembersComparator : Comparator<CallableMemberDescriptor> {
override fun compare(member1: CallableMemberDescriptor?, member2: CallableMemberDescriptor?): Int { override fun compare(member1: CallableMemberDescriptor?, member2: CallableMemberDescriptor?): Int {
if (member1 == member2) return 0 if (member1 == member2) return 0
if (member1 == null) return -1 if (member1 == null) return -1
@@ -91,7 +107,7 @@ class ClassGenerator(declarationGenerator: DeclarationGenerator) : DeclarationGe
.getContributedDescriptors(DescriptorKindFilter.CALLABLES) .getContributedDescriptors(DescriptorKindFilter.CALLABLES)
.filterIsInstance<CallableMemberDescriptor>() .filterIsInstance<CallableMemberDescriptor>()
.filter { it.kind == CallableMemberDescriptor.Kind.DELEGATION } .filter { it.kind == CallableMemberDescriptor.Kind.DELEGATION }
.sortedWith(StableDelegatesComparator) .sortedWith(StableCallableMembersComparator)
if (delegatedMembers.isEmpty()) return if (delegatedMembers.isEmpty()) return
for (ktEntry in ktSuperTypeList.entries) { for (ktEntry in ktSuperTypeList.entries) {
@@ -16,15 +16,10 @@
package org.jetbrains.kotlin.psi2ir.generators package org.jetbrains.kotlin.psi2ir.generators
import org.jetbrains.kotlin.descriptors.CallableDescriptor import org.jetbrains.kotlin.descriptors.*
import org.jetbrains.kotlin.descriptors.ClassDescriptor
import org.jetbrains.kotlin.descriptors.TypeParameterDescriptor
import org.jetbrains.kotlin.ir.UNDEFINED_OFFSET import org.jetbrains.kotlin.ir.UNDEFINED_OFFSET
import org.jetbrains.kotlin.ir.declarations.* import org.jetbrains.kotlin.ir.declarations.*
import org.jetbrains.kotlin.ir.declarations.impl.IrAnonymousInitializerImpl import org.jetbrains.kotlin.ir.declarations.impl.*
import org.jetbrains.kotlin.ir.declarations.impl.IrErrorDeclarationImpl
import org.jetbrains.kotlin.ir.declarations.impl.IrTypeAliasImpl
import org.jetbrains.kotlin.ir.declarations.impl.IrTypeParameterImpl
import org.jetbrains.kotlin.ir.expressions.IrBody import org.jetbrains.kotlin.ir.expressions.IrBody
import org.jetbrains.kotlin.ir.expressions.IrExpressionBody import org.jetbrains.kotlin.ir.expressions.IrExpressionBody
import org.jetbrains.kotlin.psi.* import org.jetbrains.kotlin.psi.*
@@ -99,6 +94,38 @@ class DeclarationGenerator(override val context: GeneratorContext) : Generator {
fun generateInitializerBody(scopeOwner: CallableDescriptor, ktBody: KtExpression): IrExpressionBody = fun generateInitializerBody(scopeOwner: CallableDescriptor, ktBody: KtExpression): IrExpressionBody =
createBodyGenerator(scopeOwner).generateExpressionBody(ktBody) createBodyGenerator(scopeOwner).generateExpressionBody(ktBody)
fun generateFakeOverrideDeclaration(memberDescriptor: CallableMemberDescriptor, ktElement: KtElement? = null): IrDeclaration {
assert(memberDescriptor.kind == CallableMemberDescriptor.Kind.FAKE_OVERRIDE) {
"Fake override expected: $memberDescriptor"
}
return when (memberDescriptor) {
is FunctionDescriptor ->
generateFakeOverrideFunction(memberDescriptor, ktElement)
is PropertyDescriptor ->
generateFakeOverrideProperty(memberDescriptor, ktElement)
else ->
throw AssertionError("Unexpected member descriptor: $memberDescriptor")
}
}
private fun generateFakeOverrideProperty(propertyDescriptor: PropertyDescriptor, ktElement: KtElement?): IrProperty =
IrPropertyImpl(
ktElement.startOffsetOrUndefined, ktElement.endOffsetOrUndefined,
IrDeclarationOrigin.FAKE_OVERRIDE,
false,
propertyDescriptor,
null,
propertyDescriptor.getter?.let { generateFakeOverrideFunction(it, ktElement) },
propertyDescriptor.setter?.let { generateFakeOverrideFunction(it, ktElement) }
)
private fun generateFakeOverrideFunction(functionDescriptor: FunctionDescriptor, ktElement: KtElement?): IrFunction =
IrFunctionImpl(
ktElement.startOffsetOrUndefined, ktElement.endOffsetOrUndefined,
IrDeclarationOrigin.FAKE_OVERRIDE,
functionDescriptor
)
} }
abstract class DeclarationGeneratorExtension(val declarationGenerator: DeclarationGenerator) : Generator { abstract class DeclarationGeneratorExtension(val declarationGenerator: DeclarationGenerator) : Generator {
@@ -18,6 +18,7 @@ package org.jetbrains.kotlin.ir.declarations
interface IrDeclarationOrigin { interface IrDeclarationOrigin {
object DEFINED : IrDeclarationOriginImpl("DEFINED") object DEFINED : IrDeclarationOriginImpl("DEFINED")
object FAKE_OVERRIDE : IrDeclarationOriginImpl("FAKE_OVERRIDE")
object PROPERTY_BACKING_FIELD : IrDeclarationOriginImpl("PROPERTY_BACKING_FIELD") object PROPERTY_BACKING_FIELD : IrDeclarationOriginImpl("PROPERTY_BACKING_FIELD")
object DEFAULT_PROPERTY_ACCESSOR : IrDeclarationOriginImpl("DEFAULT_PROPERTY_ACCESSOR") object DEFAULT_PROPERTY_ACCESSOR : IrDeclarationOriginImpl("DEFAULT_PROPERTY_ACCESSOR")
object DELEGATE : IrDeclarationOriginImpl("DELEGATE") object DELEGATE : IrDeclarationOriginImpl("DELEGATE")
@@ -26,6 +26,9 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
RETURN type=kotlin.Nothing from='<get-y>(): Int' RETURN type=kotlin.Nothing from='<get-y>(): Int'
GET_FIELD 'y: Int' type=kotlin.Int origin=null GET_FIELD 'y: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Base>' type=Base origin=null receiver: GET_VAR '<receiver: Base>' type=Base origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test1 CLASS CLASS Test1
CONSTRUCTOR public constructor Test1(xx: kotlin.Int, yy: kotlin.Int) CONSTRUCTOR public constructor Test1(xx: kotlin.Int, yy: kotlin.Int)
VALUE_PARAMETER value-parameter xx: kotlin.Int VALUE_PARAMETER value-parameter xx: kotlin.Int
@@ -40,6 +43,13 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
x: GET_VAR 'tmp1_x: Int' type=kotlin.Int origin=null x: GET_VAR 'tmp1_x: Int' type=kotlin.Int origin=null
y: GET_VAR 'tmp0_y: Int' type=kotlin.Int origin=null y: GET_VAR 'tmp0_y: Int' type=kotlin.Int origin=null
INSTANCE_INITIALIZER_CALL classDescriptor='Test1' INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
PROPERTY FAKE_OVERRIDE public final override val x: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-x>(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val y: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-y>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2 CLASS CLASS Test2
CONSTRUCTOR public constructor Test2(xx: kotlin.Int, yy: kotlin.Int) CONSTRUCTOR public constructor Test2(xx: kotlin.Int, yy: kotlin.Int)
VALUE_PARAMETER value-parameter xx: kotlin.Int VALUE_PARAMETER value-parameter xx: kotlin.Int
@@ -67,3 +77,10 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
DELEGATING_CONSTRUCTOR_CALL 'constructor Test2(Int, Int)' DELEGATING_CONSTRUCTOR_CALL 'constructor Test2(Int, Int)'
xx: GET_VAR 'tmp1_xx: Int' type=kotlin.Int origin=null xx: GET_VAR 'tmp1_xx: Int' type=kotlin.Int origin=null
yy: GET_VAR 'tmp0_yy: Int' type=kotlin.Int origin=null yy: GET_VAR 'tmp0_yy: Int' type=kotlin.Int origin=null
PROPERTY FAKE_OVERRIDE public final override val x: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-x>(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val y: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-y>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
+12
View File
@@ -99,6 +99,9 @@ FILE /classMembers.kt
BLOCK_BODY BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='4' message: CONST String type=kotlin.String value='4'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE NestedInterface CLASS INTERFACE NestedInterface
FUN public abstract fun foo(): kotlin.Unit FUN public abstract fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: NestedInterface> $this: VALUE_PARAMETER <receiver: NestedInterface>
@@ -108,8 +111,17 @@ FILE /classMembers.kt
RETURN type=kotlin.Nothing from='bar(): Unit' RETURN type=kotlin.Nothing from='bar(): Unit'
CALL 'foo(): Unit' type=kotlin.Unit origin=null CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_VAR '<receiver: NestedInterface>' type=C.NestedInterface origin=null $this: GET_VAR '<receiver: NestedInterface>' type=C.NestedInterface origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT companion object of C CLASS OBJECT companion object of C
CONSTRUCTOR private constructor Companion() CONSTRUCTOR private constructor Companion()
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='companion object of C' INSTANCE_INITIALIZER_CALL classDescriptor='companion object of C'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
+23
View File
@@ -4,18 +4,41 @@ FILE /classes.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='TestClass' INSTANCE_INITIALIZER_CALL classDescriptor='TestClass'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE TestInterface CLASS INTERFACE TestInterface
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT TestObject CLASS OBJECT TestObject
CONSTRUCTOR private constructor TestObject() CONSTRUCTOR private constructor TestObject()
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='TestObject' INSTANCE_INITIALIZER_CALL classDescriptor='TestObject'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS ANNOTATION_CLASS TestAnnotationClass CLASS ANNOTATION_CLASS TestAnnotationClass
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS ENUM_CLASS TestEnumClass CLASS ENUM_CLASS TestEnumClass
CONSTRUCTOR private constructor TestEnumClass() CONSTRUCTOR private constructor TestEnumClass()
BLOCK_BODY BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)' ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
INSTANCE_INITIALIZER_CALL classDescriptor='TestEnumClass' INSTANCE_INITIALIZER_CALL classDescriptor='TestEnumClass'
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<TestEnumClass!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: TestEnumClass): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnumClass> FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnumClass>
SYNTHETIC_BODY kind=ENUM_VALUES SYNTHETIC_BODY kind=ENUM_VALUES
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnumClass FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnumClass
+12
View File
@@ -9,6 +9,12 @@ FILE /companionObject.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='companion object of Test1' INSTANCE_INITIALIZER_CALL classDescriptor='companion object of Test1'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2 CLASS CLASS Test2
CONSTRUCTOR public constructor Test2() CONSTRUCTOR public constructor Test2()
BLOCK_BODY BLOCK_BODY
@@ -19,3 +25,9 @@ FILE /companionObject.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='companion object of Test2Named' INSTANCE_INITIALIZER_CALL classDescriptor='companion object of Test2Named'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -9,6 +9,9 @@ FILE /delegatedImplementation.kt
FUN public abstract fun kotlin.String.qux(): kotlin.Unit FUN public abstract fun kotlin.String.qux(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: IBase> $this: VALUE_PARAMETER <receiver: IBase>
$receiver: VALUE_PARAMETER <receiver: qux() on String: Unit> $receiver: VALUE_PARAMETER <receiver: qux() on String: Unit>
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT BaseImpl CLASS OBJECT BaseImpl
CONSTRUCTOR private constructor BaseImpl() CONSTRUCTOR private constructor BaseImpl()
BLOCK_BODY BLOCK_BODY
@@ -28,6 +31,9 @@ FILE /delegatedImplementation.kt
$this: VALUE_PARAMETER <receiver: BaseImpl> $this: VALUE_PARAMETER <receiver: BaseImpl>
$receiver: VALUE_PARAMETER <receiver: qux() on String: Unit> $receiver: VALUE_PARAMETER <receiver: qux() on String: Unit>
BLOCK_BODY BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE IOther CLASS INTERFACE IOther
PROPERTY public abstract val x: kotlin.String PROPERTY public abstract val x: kotlin.String
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <get-x>(): kotlin.String FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <get-x>(): kotlin.String
@@ -74,6 +80,9 @@ FILE /delegatedImplementation.kt
SET_FIELD 'z2: Int on Byte' type=kotlin.Unit origin=null SET_FIELD 'z2: Int on Byte' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: IOther>' type=IOther origin=null receiver: GET_VAR '<receiver: IOther>' type=IOther origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun otherImpl(x0: kotlin.String, y0: kotlin.Int): IOther FUN public fun otherImpl(x0: kotlin.String, y0: kotlin.Int): IOther
VALUE_PARAMETER value-parameter x0: kotlin.String VALUE_PARAMETER value-parameter x0: kotlin.String
VALUE_PARAMETER value-parameter y0: kotlin.Int VALUE_PARAMETER value-parameter y0: kotlin.Int
@@ -131,6 +140,9 @@ FILE /delegatedImplementation.kt
$receiver: VALUE_PARAMETER <receiver: z2: Int on Byte> $receiver: VALUE_PARAMETER <receiver: z2: Int on Byte>
VALUE_PARAMETER value-parameter value: kotlin.Int VALUE_PARAMETER value-parameter value: kotlin.Int
BLOCK_BODY BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CALL 'constructor <no name provided>()' type=otherImpl.<no name provided> origin=OBJECT_LITERAL CALL 'constructor <no name provided>()' type=otherImpl.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS Test1 CLASS CLASS Test1
CONSTRUCTOR public constructor Test1() CONSTRUCTOR public constructor Test1()
@@ -165,6 +177,9 @@ FILE /delegatedImplementation.kt
$this: GET_FIELD '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl origin=null $this: GET_FIELD '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$receiver: GET_VAR '<receiver: qux() on String: Unit>' type=kotlin.String origin=null $receiver: GET_VAR '<receiver: qux() on String: Unit>' type=kotlin.String origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2 CLASS CLASS Test2
CONSTRUCTOR public constructor Test2() CONSTRUCTOR public constructor Test2()
BLOCK_BODY BLOCK_BODY
@@ -257,3 +272,6 @@ FILE /delegatedImplementation.kt
$this: GET_FIELD '`Test2$IOther$delegate`: IOther' type=IOther origin=null $this: GET_FIELD '`Test2$IOther$delegate`: IOther' type=IOther origin=null
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
<set-?>: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null <set-?>: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -4,6 +4,9 @@ FILE /delegatedImplementationWithExplicitOverride.kt
$this: VALUE_PARAMETER <receiver: IFooBar> $this: VALUE_PARAMETER <receiver: IFooBar>
FUN public abstract fun bar(): kotlin.Unit FUN public abstract fun bar(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: IFooBar> $this: VALUE_PARAMETER <receiver: IFooBar>
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT FooBarImpl CLASS OBJECT FooBarImpl
CONSTRUCTOR private constructor FooBarImpl() CONSTRUCTOR private constructor FooBarImpl()
BLOCK_BODY BLOCK_BODY
@@ -15,6 +18,9 @@ FILE /delegatedImplementationWithExplicitOverride.kt
FUN public open override fun bar(): kotlin.Unit FUN public open override fun bar(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: FooBarImpl> $this: VALUE_PARAMETER <receiver: FooBarImpl>
BLOCK_BODY BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS C CLASS CLASS C
CONSTRUCTOR public constructor C() CONSTRUCTOR public constructor C()
BLOCK_BODY BLOCK_BODY
@@ -32,3 +38,6 @@ FILE /delegatedImplementationWithExplicitOverride.kt
FUN public open override fun bar(): kotlin.Unit FUN public open override fun bar(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: C> $this: VALUE_PARAMETER <receiver: C>
BLOCK_BODY BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -17,6 +17,9 @@ FILE /delegatingConstructorCallToTypeAliasConstructor.kt
RETURN type=kotlin.Nothing from='<get-value>(): T' RETURN type=kotlin.Nothing from='<get-value>(): T'
GET_FIELD 'value: T' type=T origin=null GET_FIELD 'value: T' type=T origin=null
receiver: GET_VAR '<receiver: Cell>' type=Cell<T> origin=null receiver: GET_VAR '<receiver: Cell>' type=Cell<T> origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
TYPEALIAS typealias CT = Cell<T> type=Cell<T> TYPEALIAS typealias CT = Cell<T> type=Cell<T>
TYPEALIAS typealias CStr = Cell<String> type=Cell<kotlin.String> TYPEALIAS typealias CStr = Cell<String> type=Cell<kotlin.String>
CLASS CLASS C1 CLASS CLASS C1
@@ -25,9 +28,19 @@ FILE /delegatingConstructorCallToTypeAliasConstructor.kt
DELEGATING_CONSTRUCTOR_CALL 'constructor Cell(String)' DELEGATING_CONSTRUCTOR_CALL 'constructor Cell(String)'
value: CONST String type=kotlin.String value='O' value: CONST String type=kotlin.String value='O'
INSTANCE_INITIALIZER_CALL classDescriptor='C1' INSTANCE_INITIALIZER_CALL classDescriptor='C1'
PROPERTY FAKE_OVERRIDE public final override val value: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-value>(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS C2 CLASS CLASS C2
CONSTRUCTOR public constructor C2() CONSTRUCTOR public constructor C2()
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Cell(String)' DELEGATING_CONSTRUCTOR_CALL 'constructor Cell(String)'
value: CONST String type=kotlin.String value='K' value: CONST String type=kotlin.String value='K'
INSTANCE_INITIALIZER_CALL classDescriptor='C2' INSTANCE_INITIALIZER_CALL classDescriptor='C2'
PROPERTY FAKE_OVERRIDE public final override val value: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-value>(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -4,6 +4,9 @@ FILE /delegatingConstructorCallsInSecondaryConstructors.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Base' INSTANCE_INITIALIZER_CALL classDescriptor='Base'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test CLASS CLASS Test
CONSTRUCTOR public constructor Test() CONSTRUCTOR public constructor Test()
BLOCK_BODY BLOCK_BODY
@@ -18,3 +21,6 @@ FILE /delegatingConstructorCallsInSecondaryConstructors.kt
VALUE_PARAMETER value-parameter xx: kotlin.Short VALUE_PARAMETER value-parameter xx: kotlin.Short
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Test()' DELEGATING_CONSTRUCTOR_CALL 'constructor Test()'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
+92
View File
@@ -8,6 +8,17 @@ FILE /enum.kt
init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum1()' init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum1()'
ENUM_ENTRY enum entry TEST2 ENUM_ENTRY enum entry TEST2
init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum1()' init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum1()'
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<TestEnum1!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: TestEnum1): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum1> FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum1>
SYNTHETIC_BODY kind=ENUM_VALUES SYNTHETIC_BODY kind=ENUM_VALUES
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum1 FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum1
@@ -37,6 +48,17 @@ FILE /enum.kt
ENUM_ENTRY enum entry TEST3 ENUM_ENTRY enum entry TEST3
init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum2(Int)' init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum2(Int)'
x: CONST Int type=kotlin.Int value='3' x: CONST Int type=kotlin.Int value='3'
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<TestEnum2!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: TestEnum2): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum2> FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum2>
SYNTHETIC_BODY kind=ENUM_VALUES SYNTHETIC_BODY kind=ENUM_VALUES
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum2 FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum2
@@ -58,8 +80,30 @@ FILE /enum.kt
BLOCK_BODY BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='Hello, world!' message: CONST String type=kotlin.String value='Hello, world!'
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<TestEnum3!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: TestEnum3): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public abstract fun foo(): kotlin.Unit FUN public abstract fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: TestEnum3> $this: VALUE_PARAMETER <receiver: TestEnum3>
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<TestEnum3!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: TestEnum3): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum3> FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum3>
SYNTHETIC_BODY kind=ENUM_VALUES SYNTHETIC_BODY kind=ENUM_VALUES
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum3 FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum3
@@ -93,6 +137,19 @@ FILE /enum.kt
BLOCK_BODY BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: GET_ENUM 'TEST1' type=TestEnum4 message: GET_ENUM 'TEST1' type=TestEnum4
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<TestEnum4!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: TestEnum4): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val x: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-x>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
ENUM_ENTRY enum entry TEST2 ENUM_ENTRY enum entry TEST2
init: ENUM_CONSTRUCTOR_CALL 'constructor TEST2()' init: ENUM_CONSTRUCTOR_CALL 'constructor TEST2()'
class: CLASS ENUM_ENTRY TEST2 class: CLASS ENUM_ENTRY TEST2
@@ -120,8 +177,32 @@ FILE /enum.kt
BLOCK_BODY BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: GET_ENUM 'TEST2' type=TestEnum4 message: GET_ENUM 'TEST2' type=TestEnum4
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<TestEnum4!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: TestEnum4): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val x: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-x>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public abstract fun foo(): kotlin.Unit FUN public abstract fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: TestEnum4> $this: VALUE_PARAMETER <receiver: TestEnum4>
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<TestEnum4!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: TestEnum4): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum4> FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum4>
SYNTHETIC_BODY kind=ENUM_VALUES SYNTHETIC_BODY kind=ENUM_VALUES
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum4 FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum4
@@ -151,6 +232,17 @@ FILE /enum.kt
ENUM_ENTRY enum entry TEST3 ENUM_ENTRY enum entry TEST3
init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum5(Int = ...)' init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum5(Int = ...)'
x: CONST Int type=kotlin.Int value='0' x: CONST Int type=kotlin.Int value='0'
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<TestEnum5!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: TestEnum5): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum5> FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum5>
SYNTHETIC_BODY kind=ENUM_VALUES SYNTHETIC_BODY kind=ENUM_VALUES
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum5 FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum5
@@ -21,6 +21,17 @@ FILE /enumWithSecondaryCtor.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Test0(Int)' DELEGATING_CONSTRUCTOR_CALL 'constructor Test0(Int)'
x: CONST Int type=kotlin.Int value='0' x: CONST Int type=kotlin.Int value='0'
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<Test0!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: Test0): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<Test0> FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<Test0>
SYNTHETIC_BODY kind=ENUM_VALUES SYNTHETIC_BODY kind=ENUM_VALUES
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Test0 FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Test0
@@ -50,6 +61,17 @@ FILE /enumWithSecondaryCtor.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Test1(Int)' DELEGATING_CONSTRUCTOR_CALL 'constructor Test1(Int)'
x: CONST Int type=kotlin.Int value='0' x: CONST Int type=kotlin.Int value='0'
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<Test1!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: Test1): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<Test1> FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<Test1>
SYNTHETIC_BODY kind=ENUM_VALUES SYNTHETIC_BODY kind=ENUM_VALUES
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Test1 FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Test1
@@ -82,6 +104,19 @@ FILE /enumWithSecondaryCtor.kt
BLOCK_BODY BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='ZERO' message: CONST String type=kotlin.String value='ZERO'
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<Test2!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: Test2): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val x: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-x>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
ENUM_ENTRY enum entry ONE ENUM_ENTRY enum entry ONE
init: ENUM_CONSTRUCTOR_CALL 'constructor ONE()' init: ENUM_CONSTRUCTOR_CALL 'constructor ONE()'
class: CLASS ENUM_ENTRY ONE class: CLASS ENUM_ENTRY ONE
@@ -95,12 +130,36 @@ FILE /enumWithSecondaryCtor.kt
BLOCK_BODY BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='ONE' message: CONST String type=kotlin.String value='ONE'
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<Test2!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: Test2): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val x: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-x>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CONSTRUCTOR private constructor Test2() CONSTRUCTOR private constructor Test2()
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Test2(Int)' DELEGATING_CONSTRUCTOR_CALL 'constructor Test2(Int)'
x: CONST Int type=kotlin.Int value='0' x: CONST Int type=kotlin.Int value='0'
FUN public abstract fun foo(): kotlin.Unit FUN public abstract fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Test2> $this: VALUE_PARAMETER <receiver: Test2>
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<Test2!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: Test2): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<Test2> FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<Test2>
SYNTHETIC_BODY kind=ENUM_VALUES SYNTHETIC_BODY kind=ENUM_VALUES
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Test2 FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Test2
+18
View File
@@ -7,6 +7,9 @@ FILE /initBlock.kt
ANONYMOUS_INITIALIZER Test1 ANONYMOUS_INITIALIZER Test1
BLOCK_BODY BLOCK_BODY
CALL 'println(): Unit' type=kotlin.Unit origin=null CALL 'println(): Unit' type=kotlin.Unit origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2 CLASS CLASS Test2
CONSTRUCTOR public constructor Test2(x: kotlin.Int) CONSTRUCTOR public constructor Test2(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int VALUE_PARAMETER value-parameter x: kotlin.Int
@@ -26,6 +29,9 @@ FILE /initBlock.kt
ANONYMOUS_INITIALIZER Test2 ANONYMOUS_INITIALIZER Test2
BLOCK_BODY BLOCK_BODY
CALL 'println(): Unit' type=kotlin.Unit origin=null CALL 'println(): Unit' type=kotlin.Unit origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test3 CLASS CLASS Test3
ANONYMOUS_INITIALIZER Test3 ANONYMOUS_INITIALIZER Test3
BLOCK_BODY BLOCK_BODY
@@ -34,6 +40,9 @@ FILE /initBlock.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Test3' INSTANCE_INITIALIZER_CALL classDescriptor='Test3'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test4 CLASS CLASS Test4
ANONYMOUS_INITIALIZER Test4 ANONYMOUS_INITIALIZER Test4
BLOCK_BODY BLOCK_BODY
@@ -47,6 +56,9 @@ FILE /initBlock.kt
BLOCK_BODY BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='2' message: CONST String type=kotlin.String value='2'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test5 CLASS CLASS Test5
CONSTRUCTOR public constructor Test5() CONSTRUCTOR public constructor Test5()
BLOCK_BODY BLOCK_BODY
@@ -66,3 +78,9 @@ FILE /initBlock.kt
BLOCK_BODY BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='2' message: CONST String type=kotlin.String value='2'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
+9
View File
@@ -15,6 +15,9 @@ FILE /initVal.kt
RETURN type=kotlin.Nothing from='<get-x>(): Int' RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestInitValFromParameter>' type=TestInitValFromParameter origin=null receiver: GET_VAR '<receiver: TestInitValFromParameter>' type=TestInitValFromParameter origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitValInClass CLASS CLASS TestInitValInClass
CONSTRUCTOR public constructor TestInitValInClass() CONSTRUCTOR public constructor TestInitValInClass()
BLOCK_BODY BLOCK_BODY
@@ -30,6 +33,9 @@ FILE /initVal.kt
RETURN type=kotlin.Nothing from='<get-x>(): Int' RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestInitValInClass>' type=TestInitValInClass origin=null receiver: GET_VAR '<receiver: TestInitValInClass>' type=TestInitValInClass origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitValInInitBlock CLASS CLASS TestInitValInInitBlock
CONSTRUCTOR public constructor TestInitValInInitBlock() CONSTRUCTOR public constructor TestInitValInInitBlock()
BLOCK_BODY BLOCK_BODY
@@ -48,3 +54,6 @@ FILE /initVal.kt
SET_FIELD 'x: Int' type=kotlin.Unit origin=null SET_FIELD 'x: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: TestInitValInInitBlock>' type=TestInitValInInitBlock origin=null receiver: GET_VAR '<receiver: TestInitValInInitBlock>' type=TestInitValInInitBlock origin=null
value: CONST Int type=kotlin.Int value='0' value: CONST Int type=kotlin.Int value='0'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
+18
View File
@@ -22,6 +22,9 @@ FILE /initVar.kt
SET_FIELD 'x: Int' type=kotlin.Unit origin=null SET_FIELD 'x: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: TestInitVarFromParameter>' type=TestInitVarFromParameter origin=null receiver: GET_VAR '<receiver: TestInitVarFromParameter>' type=TestInitVarFromParameter origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitVarInClass CLASS CLASS TestInitVarInClass
CONSTRUCTOR public constructor TestInitVarInClass() CONSTRUCTOR public constructor TestInitVarInClass()
BLOCK_BODY BLOCK_BODY
@@ -44,6 +47,9 @@ FILE /initVar.kt
SET_FIELD 'x: Int' type=kotlin.Unit origin=null SET_FIELD 'x: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: TestInitVarInClass>' type=TestInitVarInClass origin=null receiver: GET_VAR '<receiver: TestInitVarInClass>' type=TestInitVarInClass origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitVarInInitBlock CLASS CLASS TestInitVarInInitBlock
CONSTRUCTOR public constructor TestInitVarInInitBlock() CONSTRUCTOR public constructor TestInitVarInInitBlock()
BLOCK_BODY BLOCK_BODY
@@ -69,6 +75,9 @@ FILE /initVar.kt
CALL '<set-x>(Int): Unit' type=kotlin.Unit origin=EQ CALL '<set-x>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_VAR '<receiver: TestInitVarInInitBlock>' type=TestInitVarInInitBlock origin=null $this: GET_VAR '<receiver: TestInitVarInInitBlock>' type=TestInitVarInInitBlock origin=null
<set-?>: CONST Int type=kotlin.Int value='0' <set-?>: CONST Int type=kotlin.Int value='0'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitVarWithCustomSetter CLASS CLASS TestInitVarWithCustomSetter
CONSTRUCTOR public constructor TestInitVarWithCustomSetter() CONSTRUCTOR public constructor TestInitVarWithCustomSetter()
BLOCK_BODY BLOCK_BODY
@@ -91,6 +100,9 @@ FILE /initVar.kt
SET_FIELD 'x: Int' type=kotlin.Unit origin=EQ SET_FIELD 'x: Int' type=kotlin.Unit origin=EQ
receiver: GET_VAR '<receiver: TestInitVarWithCustomSetter>' type=TestInitVarWithCustomSetter origin=null receiver: GET_VAR '<receiver: TestInitVarWithCustomSetter>' type=TestInitVarWithCustomSetter origin=null
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitVarWithCustomSetterWithExplicitCtor CLASS CLASS TestInitVarWithCustomSetterWithExplicitCtor
PROPERTY public final var x: kotlin.Int PROPERTY public final var x: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
@@ -116,6 +128,9 @@ FILE /initVar.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarWithCustomSetterWithExplicitCtor' INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarWithCustomSetterWithExplicitCtor'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitVarWithCustomSetterInCtor CLASS CLASS TestInitVarWithCustomSetterInCtor
PROPERTY public final var x: kotlin.Int PROPERTY public final var x: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
@@ -139,3 +154,6 @@ FILE /initVar.kt
CALL '<set-x>(Int): Unit' type=kotlin.Unit origin=EQ CALL '<set-x>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_VAR '<receiver: TestInitVarWithCustomSetterInCtor>' type=TestInitVarWithCustomSetterInCtor origin=null $this: GET_VAR '<receiver: TestInitVarWithCustomSetterInCtor>' type=TestInitVarWithCustomSetterInCtor origin=null
value: CONST Int type=kotlin.Int value='42' value: CONST Int type=kotlin.Int value='42'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
+9
View File
@@ -10,6 +10,9 @@ FILE /innerClass.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='TestInnerClass' INSTANCE_INITIALIZER_CALL classDescriptor='TestInnerClass'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS DerivedInnerClass CLASS CLASS DerivedInnerClass
CONSTRUCTOR public constructor DerivedInnerClass() CONSTRUCTOR public constructor DerivedInnerClass()
$this: VALUE_PARAMETER <receiver: Outer> $this: VALUE_PARAMETER <receiver: Outer>
@@ -17,3 +20,9 @@ FILE /innerClass.kt
DELEGATING_CONSTRUCTOR_CALL 'constructor TestInnerClass()' DELEGATING_CONSTRUCTOR_CALL 'constructor TestInnerClass()'
$this: GET_VAR '<receiver: Outer>' type=Outer origin=null $this: GET_VAR '<receiver: Outer>' type=Outer origin=null
INSTANCE_INITIALIZER_CALL classDescriptor='DerivedInnerClass' INSTANCE_INITIALIZER_CALL classDescriptor='DerivedInnerClass'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -27,3 +27,9 @@ FILE /innerClassWithDelegatingConstructor.kt
DELEGATING_CONSTRUCTOR_CALL 'constructor Inner(Int)' DELEGATING_CONSTRUCTOR_CALL 'constructor Inner(Int)'
$this: GET_VAR '<receiver: Outer>' type=Outer origin=null $this: GET_VAR '<receiver: Outer>' type=Outer origin=null
x: CONST Int type=kotlin.Int value='0' x: CONST Int type=kotlin.Int value='0'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
+3
View File
@@ -9,5 +9,8 @@ FILE /localClasses.kt
FUN public final fun foo(): kotlin.Unit FUN public final fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: LocalClass> $this: VALUE_PARAMETER <receiver: LocalClass>
BLOCK_BODY BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CALL 'foo(): Unit' type=kotlin.Unit origin=null CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: CALL 'constructor LocalClass()' type=outer.LocalClass origin=null $this: CALL 'constructor LocalClass()' type=outer.LocalClass origin=null
@@ -2,6 +2,9 @@ FILE /objectLiteralExpressions.kt
CLASS INTERFACE IFoo CLASS INTERFACE IFoo
FUN public abstract fun foo(): kotlin.Unit FUN public abstract fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: IFoo> $this: VALUE_PARAMETER <receiver: IFoo>
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
PROPERTY public val test1: kotlin.Any PROPERTY public val test1: kotlin.Any
FIELD PROPERTY_BACKING_FIELD public val test1: kotlin.Any FIELD PROPERTY_BACKING_FIELD public val test1: kotlin.Any
EXPRESSION_BODY EXPRESSION_BODY
@@ -11,6 +14,9 @@ FILE /objectLiteralExpressions.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>' INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CALL 'constructor <no name provided>()' type=test1.<no name provided> origin=OBJECT_LITERAL CALL 'constructor <no name provided>()' type=test1.<no name provided> origin=OBJECT_LITERAL
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): kotlin.Any FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): kotlin.Any
BLOCK_BODY BLOCK_BODY
@@ -30,6 +36,9 @@ FILE /objectLiteralExpressions.kt
BLOCK_BODY BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='foo' message: CONST String type=kotlin.String value='foo'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CALL 'constructor <no name provided>()' type=test2.<no name provided> origin=OBJECT_LITERAL CALL 'constructor <no name provided>()' type=test2.<no name provided> origin=OBJECT_LITERAL
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test2>(): IFoo FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test2>(): IFoo
BLOCK_BODY BLOCK_BODY
@@ -46,6 +55,10 @@ FILE /objectLiteralExpressions.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Inner' INSTANCE_INITIALIZER_CALL classDescriptor='Inner'
FUN FAKE_OVERRIDE public abstract override fun foo(): kotlin.Unit
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public final fun test3(): Outer.Inner FUN public final fun test3(): Outer.Inner
$this: VALUE_PARAMETER <receiver: Outer> $this: VALUE_PARAMETER <receiver: Outer>
BLOCK_BODY BLOCK_BODY
@@ -62,7 +75,13 @@ FILE /objectLiteralExpressions.kt
BLOCK_BODY BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='foo' message: CONST String type=kotlin.String value='foo'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CALL 'constructor <no name provided>()' type=Outer.test3.<no name provided> origin=OBJECT_LITERAL CALL 'constructor <no name provided>()' type=Outer.test3.<no name provided> origin=OBJECT_LITERAL
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun Outer.test4(): Outer.Inner FUN public fun Outer.test4(): Outer.Inner
$receiver: VALUE_PARAMETER <receiver: test4() on Outer: Outer.Inner> $receiver: VALUE_PARAMETER <receiver: test4() on Outer: Outer.Inner>
BLOCK_BODY BLOCK_BODY
@@ -79,4 +98,7 @@ FILE /objectLiteralExpressions.kt
BLOCK_BODY BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='foo' message: CONST String type=kotlin.String value='foo'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CALL 'constructor <no name provided>()' type=test4.<no name provided> origin=OBJECT_LITERAL CALL 'constructor <no name provided>()' type=test4.<no name provided> origin=OBJECT_LITERAL
@@ -4,6 +4,9 @@ FILE /objectWithInitializers.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Base' INSTANCE_INITIALIZER_CALL classDescriptor='Base'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT Test CLASS OBJECT Test
CONSTRUCTOR private constructor Test() CONSTRUCTOR private constructor Test()
BLOCK_BODY BLOCK_BODY
@@ -33,3 +36,6 @@ FILE /objectWithInitializers.kt
receiver: GET_VAR '<receiver: Test>' type=Test origin=null receiver: GET_VAR '<receiver: Test>' type=Test origin=null
value: CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY value: CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test>' type=Test origin=null $this: GET_VAR '<receiver: Test>' type=Test origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -37,3 +37,12 @@ FILE /outerClassAccess.kt
BLOCK_BODY BLOCK_BODY
CALL 'foo(): Unit' type=kotlin.Unit origin=null CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_VAR '<receiver: test3() on Outer: Unit>' type=Outer origin=null $this: GET_VAR '<receiver: test3() on Outer: Unit>' type=Outer origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -26,6 +26,9 @@ FILE /primaryConstructor.kt
RETURN type=kotlin.Nothing from='<get-y>(): Int' RETURN type=kotlin.Nothing from='<get-y>(): Int'
GET_FIELD 'y: Int' type=kotlin.Int origin=null GET_FIELD 'y: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2 CLASS CLASS Test2
CONSTRUCTOR public constructor Test2(x: kotlin.Int, y: kotlin.Int) CONSTRUCTOR public constructor Test2(x: kotlin.Int, y: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int VALUE_PARAMETER value-parameter x: kotlin.Int
@@ -53,6 +56,9 @@ FILE /primaryConstructor.kt
RETURN type=kotlin.Nothing from='<get-x>(): Int' RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test3 CLASS CLASS Test3
CONSTRUCTOR public constructor Test3(x: kotlin.Int, y: kotlin.Int) CONSTRUCTOR public constructor Test3(x: kotlin.Int, y: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int VALUE_PARAMETER value-parameter x: kotlin.Int
@@ -83,3 +89,6 @@ FILE /primaryConstructor.kt
SET_FIELD 'x: Int' type=kotlin.Unit origin=null SET_FIELD 'x: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: Test3>' type=Test3 origin=null receiver: GET_VAR '<receiver: Test3>' type=Test3 origin=null
value: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null value: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -4,16 +4,25 @@ FILE /primaryConstructorWithSuperConstructorCall.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Base' INSTANCE_INITIALIZER_CALL classDescriptor='Base'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestImplicitPrimaryConstructor CLASS CLASS TestImplicitPrimaryConstructor
CONSTRUCTOR public constructor TestImplicitPrimaryConstructor() CONSTRUCTOR public constructor TestImplicitPrimaryConstructor()
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()' DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
INSTANCE_INITIALIZER_CALL classDescriptor='TestImplicitPrimaryConstructor' INSTANCE_INITIALIZER_CALL classDescriptor='TestImplicitPrimaryConstructor'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestExplicitPrimaryConstructor CLASS CLASS TestExplicitPrimaryConstructor
CONSTRUCTOR public constructor TestExplicitPrimaryConstructor() CONSTRUCTOR public constructor TestExplicitPrimaryConstructor()
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()' DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
INSTANCE_INITIALIZER_CALL classDescriptor='TestExplicitPrimaryConstructor' INSTANCE_INITIALIZER_CALL classDescriptor='TestExplicitPrimaryConstructor'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestWithDelegatingConstructor CLASS CLASS TestWithDelegatingConstructor
CONSTRUCTOR public constructor TestWithDelegatingConstructor(x: kotlin.Int, y: kotlin.Int) CONSTRUCTOR public constructor TestWithDelegatingConstructor(x: kotlin.Int, y: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int VALUE_PARAMETER value-parameter x: kotlin.Int
@@ -47,3 +56,6 @@ FILE /primaryConstructorWithSuperConstructorCall.kt
DELEGATING_CONSTRUCTOR_CALL 'constructor TestWithDelegatingConstructor(Int, Int)' DELEGATING_CONSTRUCTOR_CALL 'constructor TestWithDelegatingConstructor(Int, Int)'
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
y: CONST Int type=kotlin.Int value='0' y: CONST Int type=kotlin.Int value='0'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -9,6 +9,9 @@ FILE /qualifiedSuperCalls.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-bar>(): Int' RETURN type=kotlin.Nothing from='<get-bar>(): Int'
CONST Int type=kotlin.Int value='1' CONST Int type=kotlin.Int value='1'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE IRight CLASS INTERFACE IRight
FUN public open fun foo(): kotlin.Unit FUN public open fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: IRight> $this: VALUE_PARAMETER <receiver: IRight>
@@ -19,6 +22,9 @@ FILE /qualifiedSuperCalls.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-bar>(): Int' RETURN type=kotlin.Nothing from='<get-bar>(): Int'
CONST Int type=kotlin.Int value='2' CONST Int type=kotlin.Int value='2'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS CBoth CLASS CLASS CBoth
CONSTRUCTOR public constructor CBoth() CONSTRUCTOR public constructor CBoth()
BLOCK_BODY BLOCK_BODY
@@ -41,3 +47,6 @@ FILE /qualifiedSuperCalls.kt
$this: GET_VAR '<receiver: CBoth>' type=CBoth origin=null $this: GET_VAR '<receiver: CBoth>' type=CBoth origin=null
other: CALL '<get-bar>(): Int' superQualifier=IRight type=kotlin.Int origin=GET_PROPERTY other: CALL '<get-bar>(): Int' superQualifier=IRight type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR '<receiver: CBoth>' type=CBoth origin=null $this: GET_VAR '<receiver: CBoth>' type=CBoth origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
+12
View File
@@ -20,6 +20,9 @@ FILE /sealedClasses.kt
RETURN type=kotlin.Nothing from='<get-number>(): Double' RETURN type=kotlin.Nothing from='<get-number>(): Double'
GET_FIELD 'number: Double' type=kotlin.Double origin=null GET_FIELD 'number: Double' type=kotlin.Double origin=null
receiver: GET_VAR '<receiver: Const>' type=Expr.Const origin=null receiver: GET_VAR '<receiver: Const>' type=Expr.Const origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Sum CLASS CLASS Sum
CONSTRUCTOR public constructor Sum(e1: Expr, e2: Expr) CONSTRUCTOR public constructor Sum(e1: Expr, e2: Expr)
VALUE_PARAMETER value-parameter e1: Expr VALUE_PARAMETER value-parameter e1: Expr
@@ -47,8 +50,17 @@ FILE /sealedClasses.kt
RETURN type=kotlin.Nothing from='<get-e2>(): Expr' RETURN type=kotlin.Nothing from='<get-e2>(): Expr'
GET_FIELD 'e2: Expr' type=Expr origin=null GET_FIELD 'e2: Expr' type=Expr origin=null
receiver: GET_VAR '<receiver: Sum>' type=Expr.Sum origin=null receiver: GET_VAR '<receiver: Sum>' type=Expr.Sum origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT NotANumber CLASS OBJECT NotANumber
CONSTRUCTOR private constructor NotANumber() CONSTRUCTOR private constructor NotANumber()
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Expr()' DELEGATING_CONSTRUCTOR_CALL 'constructor Expr()'
INSTANCE_INITIALIZER_CALL classDescriptor='NotANumber' INSTANCE_INITIALIZER_CALL classDescriptor='NotANumber'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -4,6 +4,9 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Base' INSTANCE_INITIALIZER_CALL classDescriptor='Base'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestProperty CLASS CLASS TestProperty
PROPERTY public final val x: kotlin.Int = 0 PROPERTY public final val x: kotlin.Int = 0
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int = 0 FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int = 0
@@ -19,6 +22,9 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()' DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
INSTANCE_INITIALIZER_CALL classDescriptor='TestProperty' INSTANCE_INITIALIZER_CALL classDescriptor='TestProperty'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitBlock CLASS CLASS TestInitBlock
PROPERTY public final val x: kotlin.Int PROPERTY public final val x: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
@@ -46,3 +52,6 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
VALUE_PARAMETER value-parameter y: kotlin.Int VALUE_PARAMETER value-parameter y: kotlin.Int
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor TestInitBlock()' DELEGATING_CONSTRUCTOR_CALL 'constructor TestInitBlock()'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -9,3 +9,6 @@ FILE /secondaryConstructors.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='C' INSTANCE_INITIALIZER_CALL classDescriptor='C'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
+6
View File
@@ -17,6 +17,9 @@ FILE /superCalls.kt
RETURN type=kotlin.Nothing from='<get-bar>(): String' RETURN type=kotlin.Nothing from='<get-bar>(): String'
GET_FIELD 'bar: String' type=kotlin.String origin=null GET_FIELD 'bar: String' type=kotlin.String origin=null
receiver: GET_VAR '<receiver: Base>' type=Base origin=null receiver: GET_VAR '<receiver: Base>' type=Base origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Derived CLASS CLASS Derived
CONSTRUCTOR public constructor Derived() CONSTRUCTOR public constructor Derived()
BLOCK_BODY BLOCK_BODY
@@ -34,3 +37,6 @@ FILE /superCalls.kt
RETURN type=kotlin.Nothing from='<get-bar>(): String' RETURN type=kotlin.Nothing from='<get-bar>(): String'
CALL '<get-bar>(): String' superQualifier=Base type=kotlin.String origin=GET_PROPERTY CALL '<get-bar>(): String' superQualifier=Base type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR '<receiver: Derived>' type=Derived origin=null $this: GET_VAR '<receiver: Derived>' type=Derived origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -130,3 +130,6 @@ FILE /classLevelProperties.kt
thisRef: GET_VAR '<receiver: C>' type=C origin=null thisRef: GET_VAR '<receiver: C>' type=C origin=null
property: CALLABLE_REFERENCE 'test8: Int' type=kotlin.reflect.KMutableProperty1<C, kotlin.Int> origin=PROPERTY_REFERENCE_FOR_DELEGATE property: CALLABLE_REFERENCE 'test8: Int' type=kotlin.reflect.KMutableProperty1<C, kotlin.Int> origin=PROPERTY_REFERENCE_FOR_DELEGATE
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -82,6 +82,9 @@ FILE /delegatedProperties.kt
thisRef: GET_VAR '<receiver: C>' type=C origin=null thisRef: GET_VAR '<receiver: C>' type=C origin=null
property: CALLABLE_REFERENCE 'test3: Any' type=kotlin.reflect.KMutableProperty1<C, kotlin.Any> origin=PROPERTY_REFERENCE_FOR_DELEGATE property: CALLABLE_REFERENCE 'test3: Any' type=kotlin.reflect.KMutableProperty1<C, kotlin.Any> origin=PROPERTY_REFERENCE_FOR_DELEGATE
value: GET_VAR 'value-parameter <set-?>: Any' type=kotlin.Any origin=null value: GET_VAR 'value-parameter <set-?>: Any' type=kotlin.Any origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
PROPERTY public var test4: kotlin.Any PROPERTY public var test4: kotlin.Any
FIELD DELEGATE val `test4$delegate`: kotlin.collections.HashMap<kotlin.String, kotlin.Any> /* = java.util.HashMap<kotlin.String, kotlin.Any> */ FIELD DELEGATE val `test4$delegate`: kotlin.collections.HashMap<kotlin.String, kotlin.Any> /* = java.util.HashMap<kotlin.String, kotlin.Any> */
EXPRESSION_BODY EXPRESSION_BODY
@@ -0,0 +1,15 @@
interface IFooStr {
fun foo(x: String)
}
interface IBar {
val bar: Int
}
abstract class CFoo<T> {
fun foo(x: T) {}
}
class Test1 : CFoo<String>(), IFooStr, IBar {
override val bar: Int = 42
}
@@ -0,0 +1,53 @@
FILE /fakeOverrides.kt
CLASS INTERFACE IFooStr
FUN public abstract fun foo(x: kotlin.String): kotlin.Unit
$this: VALUE_PARAMETER <receiver: IFooStr>
VALUE_PARAMETER value-parameter x: kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE IBar
PROPERTY public abstract val bar: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <get-bar>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: IBar>
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
GET_FIELD 'bar: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: IBar>' type=IBar origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS CFoo
TYPE_PARAMETER <T>
CONSTRUCTOR public constructor CFoo<T>()
TYPE_PARAMETER <T>
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='CFoo'
FUN public final fun foo(x: T): kotlin.Unit
$this: VALUE_PARAMETER <receiver: CFoo>
VALUE_PARAMETER value-parameter x: T
BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test1
CONSTRUCTOR public constructor Test1()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor CFoo()'
<T>: String
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
PROPERTY public open override val bar: kotlin.Int = 42
FIELD PROPERTY_BACKING_FIELD public open override val bar: kotlin.Int = 42
EXPRESSION_BODY
CONST Int type=kotlin.Int value='42'
FUN DEFAULT_PROPERTY_ACCESSOR public open override fun <get-bar>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test1>
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
GET_FIELD 'bar: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null
FUN FAKE_OVERRIDE public final override fun foo(x: kotlin.String): kotlin.Unit
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -37,3 +37,6 @@ FILE /interfaceProperties.kt
$this: VALUE_PARAMETER <receiver: C> $this: VALUE_PARAMETER <receiver: C>
VALUE_PARAMETER value-parameter value: kotlin.Int VALUE_PARAMETER value-parameter value: kotlin.Int
BLOCK_BODY BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -3,6 +3,12 @@ FILE /class.kt
TYPE_PARAMETER <T> TYPE_PARAMETER <T>
CLASS INTERFACE TestNestedInterface CLASS INTERFACE TestNestedInterface
TYPE_PARAMETER <TT> TYPE_PARAMETER <TT>
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test CLASS CLASS Test
TYPE_PARAMETER <T0> TYPE_PARAMETER <T0>
CONSTRUCTOR public constructor Test<T0>() CONSTRUCTOR public constructor Test<T0>()
@@ -17,6 +23,9 @@ FILE /class.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='TestNested' INSTANCE_INITIALIZER_CALL classDescriptor='TestNested'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInner CLASS CLASS TestInner
TYPE_PARAMETER <T2> TYPE_PARAMETER <T2>
CONSTRUCTOR public constructor TestInner<T2>() CONSTRUCTOR public constructor TestInner<T2>()
@@ -25,3 +34,9 @@ FILE /class.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='TestInner' INSTANCE_INITIALIZER_CALL classDescriptor='TestInner'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -30,6 +30,9 @@ FILE /constructor.kt
RETURN type=kotlin.Nothing from='<get-y>(): T2' RETURN type=kotlin.Nothing from='<get-y>(): T2'
GET_FIELD 'y: T2' type=T2 origin=null GET_FIELD 'y: T2' type=T2 origin=null
receiver: GET_VAR '<receiver: Test1>' type=Test1<T1, T2> origin=null receiver: GET_VAR '<receiver: Test1>' type=Test1<T1, T2> origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2 CLASS CLASS Test2
CONSTRUCTOR public constructor Test2(x: kotlin.Int, y: kotlin.String) CONSTRUCTOR public constructor Test2(x: kotlin.Int, y: kotlin.String)
VALUE_PARAMETER value-parameter x: kotlin.Int VALUE_PARAMETER value-parameter x: kotlin.Int
@@ -76,6 +79,12 @@ FILE /constructor.kt
<Z>: Z <Z>: Z
$this: GET_VAR '<receiver: Test2>' type=Test2 origin=null $this: GET_VAR '<receiver: Test2>' type=Test2 origin=null
z: GET_VAR 'value-parameter z: Z' type=Z origin=null z: GET_VAR 'value-parameter z: Z' type=Z origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test3 CLASS CLASS Test3
CONSTRUCTOR public constructor Test3(x: kotlin.Int, y: kotlin.String = ...) CONSTRUCTOR public constructor Test3(x: kotlin.Int, y: kotlin.String = ...)
VALUE_PARAMETER value-parameter x: kotlin.Int VALUE_PARAMETER value-parameter x: kotlin.Int
@@ -105,6 +114,9 @@ FILE /constructor.kt
RETURN type=kotlin.Nothing from='<get-y>(): String' RETURN type=kotlin.Nothing from='<get-y>(): String'
GET_FIELD 'y: String' type=kotlin.String origin=null GET_FIELD 'y: String' type=kotlin.String origin=null
receiver: GET_VAR '<receiver: Test3>' type=Test3 origin=null receiver: GET_VAR '<receiver: Test3>' type=Test3 origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test4 CLASS CLASS Test4
TYPE_PARAMETER <T> TYPE_PARAMETER <T>
CONSTRUCTOR public constructor Test4<T>(x: kotlin.Int) CONSTRUCTOR public constructor Test4<T>(x: kotlin.Int)
@@ -135,3 +147,6 @@ FILE /constructor.kt
x: CALL 'plus(Int): Int' type=kotlin.Int origin=PLUS x: CALL 'plus(Int): Int' type=kotlin.Int origin=PLUS
$this: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null $this: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter y: Int = ...' type=kotlin.Int origin=null other: GET_VAR 'value-parameter y: Int = ...' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -52,6 +52,9 @@ FILE /defaultPropertyAccessors.kt
SET_FIELD 'testMember2: Int' type=kotlin.Unit origin=null SET_FIELD 'testMember2: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: Host>' type=Host origin=null receiver: GET_VAR '<receiver: Host>' type=Host origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS InPrimaryCtor CLASS CLASS InPrimaryCtor
TYPE_PARAMETER <T> TYPE_PARAMETER <T>
CONSTRUCTOR public constructor InPrimaryCtor<T>(testInPrimaryCtor1: T, testInPrimaryCtor2: kotlin.Int = ...) CONSTRUCTOR public constructor InPrimaryCtor<T>(testInPrimaryCtor1: T, testInPrimaryCtor2: kotlin.Int = ...)
@@ -90,3 +93,6 @@ FILE /defaultPropertyAccessors.kt
SET_FIELD 'testInPrimaryCtor2: Int' type=kotlin.Unit origin=null SET_FIELD 'testInPrimaryCtor2: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: InPrimaryCtor>' type=InPrimaryCtor<T> origin=null receiver: GET_VAR '<receiver: InPrimaryCtor>' type=InPrimaryCtor<T> origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -16,6 +16,9 @@ FILE /delegatedMembers.kt
$this: VALUE_PARAMETER <receiver: IBase> $this: VALUE_PARAMETER <receiver: IBase>
VALUE_PARAMETER value-parameter t: T VALUE_PARAMETER value-parameter t: T
VALUE_PARAMETER value-parameter x: X VALUE_PARAMETER value-parameter x: X
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test CLASS CLASS Test
TYPE_PARAMETER <TT> TYPE_PARAMETER <TT>
CONSTRUCTOR public constructor Test<TT>(impl: IBase<TT>) CONSTRUCTOR public constructor Test<TT>(impl: IBase<TT>)
@@ -55,3 +58,6 @@ FILE /delegatedMembers.kt
CALL '<get-bar>(): Int' type=kotlin.Int origin=null CALL '<get-bar>(): Int' type=kotlin.Int origin=null
$this: GET_FIELD '`Test$IBase$delegate`: IBase<TT>' type=IBase<TT> origin=null $this: GET_FIELD '`Test$IBase$delegate`: IBase<TT>' type=IBase<TT> origin=null
receiver: GET_VAR '<receiver: Test>' type=Test<TT> origin=null receiver: GET_VAR '<receiver: Test>' type=Test<TT> origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -38,3 +38,6 @@ FILE /fun.kt
VALUE_PARAMETER value-parameter i: kotlin.Int VALUE_PARAMETER value-parameter i: kotlin.Int
VALUE_PARAMETER value-parameter j: T VALUE_PARAMETER value-parameter j: T
BLOCK_BODY BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -105,3 +105,6 @@ FILE /propertyAccessors.kt
$receiver: VALUE_PARAMETER <receiver: testMemExt4: Int on TT> $receiver: VALUE_PARAMETER <receiver: testMemExt4: Int on TT>
VALUE_PARAMETER value-parameter value: kotlin.Int VALUE_PARAMETER value-parameter value: kotlin.Int
BLOCK_BODY BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -17,3 +17,6 @@ FILE /primaryCtorDefaultArguments.kt
RETURN type=kotlin.Nothing from='<get-x>(): Int' RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test>' type=Test origin=null receiver: GET_VAR '<receiver: Test>' type=Test origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -33,3 +33,6 @@ FILE /primaryCtorProperties.kt
SET_FIELD 'test2: Int' type=kotlin.Unit origin=null SET_FIELD 'test2: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: C>' type=C origin=null receiver: GET_VAR '<receiver: C>' type=C origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -15,6 +15,9 @@ FILE /differentReceivers.kt
RETURN type=kotlin.Nothing from='<get-value>(): String' RETURN type=kotlin.Nothing from='<get-value>(): String'
GET_FIELD 'value: String' type=kotlin.String origin=null GET_FIELD 'value: String' type=kotlin.String origin=null
receiver: GET_VAR '<receiver: MyClass>' type=MyClass origin=null receiver: GET_VAR '<receiver: MyClass>' type=MyClass origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public operator fun MyClass.provideDelegate(host: kotlin.Any?, p: kotlin.Any): kotlin.String FUN public operator fun MyClass.provideDelegate(host: kotlin.Any?, p: kotlin.Any): kotlin.String
$receiver: VALUE_PARAMETER <receiver: provideDelegate(Any?, Any) on MyClass: String> $receiver: VALUE_PARAMETER <receiver: provideDelegate(Any?, Any) on MyClass: String>
VALUE_PARAMETER value-parameter host: kotlin.Any? VALUE_PARAMETER value-parameter host: kotlin.Any?
@@ -23,6 +23,9 @@ FILE /local.kt
RETURN type=kotlin.Nothing from='getValue(Any?, Any?): String' RETURN type=kotlin.Nothing from='getValue(Any?, Any?): String'
CALL '<get-value>(): String' type=kotlin.String origin=GET_PROPERTY CALL '<get-value>(): String' type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR '<receiver: Delegate>' type=Delegate origin=null $this: GET_VAR '<receiver: Delegate>' type=Delegate origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS DelegateProvider CLASS CLASS DelegateProvider
CONSTRUCTOR public constructor DelegateProvider(value: kotlin.String) CONSTRUCTOR public constructor DelegateProvider(value: kotlin.String)
VALUE_PARAMETER value-parameter value: kotlin.String VALUE_PARAMETER value-parameter value: kotlin.String
@@ -48,6 +51,9 @@ FILE /local.kt
CALL 'constructor Delegate(String)' type=Delegate origin=null CALL 'constructor Delegate(String)' type=Delegate origin=null
value: CALL '<get-value>(): String' type=kotlin.String origin=GET_PROPERTY value: CALL '<get-value>(): String' type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR '<receiver: DelegateProvider>' type=DelegateProvider origin=null $this: GET_VAR '<receiver: DelegateProvider>' type=DelegateProvider origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun foo(): kotlin.Unit FUN public fun foo(): kotlin.Unit
BLOCK_BODY BLOCK_BODY
LOCAL_DELEGATED_PROPERTY val testMember: kotlin.String LOCAL_DELEGATED_PROPERTY val testMember: kotlin.String
@@ -15,6 +15,9 @@ FILE /localDifferentReceivers.kt
RETURN type=kotlin.Nothing from='<get-value>(): String' RETURN type=kotlin.Nothing from='<get-value>(): String'
GET_FIELD 'value: String' type=kotlin.String origin=null GET_FIELD 'value: String' type=kotlin.String origin=null
receiver: GET_VAR '<receiver: MyClass>' type=MyClass origin=null receiver: GET_VAR '<receiver: MyClass>' type=MyClass origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public operator fun MyClass.provideDelegate(host: kotlin.Any?, p: kotlin.Any): kotlin.String FUN public operator fun MyClass.provideDelegate(host: kotlin.Any?, p: kotlin.Any): kotlin.String
$receiver: VALUE_PARAMETER <receiver: provideDelegate(Any?, Any) on MyClass: String> $receiver: VALUE_PARAMETER <receiver: provideDelegate(Any?, Any) on MyClass: String>
VALUE_PARAMETER value-parameter host: kotlin.Any? VALUE_PARAMETER value-parameter host: kotlin.Any?
@@ -23,6 +23,9 @@ FILE /member.kt
RETURN type=kotlin.Nothing from='getValue(Any?, Any?): String' RETURN type=kotlin.Nothing from='getValue(Any?, Any?): String'
CALL '<get-value>(): String' type=kotlin.String origin=GET_PROPERTY CALL '<get-value>(): String' type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR '<receiver: Delegate>' type=Delegate origin=null $this: GET_VAR '<receiver: Delegate>' type=Delegate origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS DelegateProvider CLASS CLASS DelegateProvider
CONSTRUCTOR public constructor DelegateProvider(value: kotlin.String) CONSTRUCTOR public constructor DelegateProvider(value: kotlin.String)
VALUE_PARAMETER value-parameter value: kotlin.String VALUE_PARAMETER value-parameter value: kotlin.String
@@ -48,6 +51,9 @@ FILE /member.kt
CALL 'constructor Delegate(String)' type=Delegate origin=null CALL 'constructor Delegate(String)' type=Delegate origin=null
value: CALL '<get-value>(): String' type=kotlin.String origin=GET_PROPERTY value: CALL '<get-value>(): String' type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR '<receiver: DelegateProvider>' type=DelegateProvider origin=null $this: GET_VAR '<receiver: DelegateProvider>' type=DelegateProvider origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Host CLASS CLASS Host
CONSTRUCTOR public constructor Host() CONSTRUCTOR public constructor Host()
BLOCK_BODY BLOCK_BODY
@@ -70,3 +76,6 @@ FILE /member.kt
receiver: GET_VAR '<receiver: Host>' type=Host origin=null receiver: GET_VAR '<receiver: Host>' type=Host origin=null
thisRef: GET_VAR '<receiver: Host>' type=Host origin=null thisRef: GET_VAR '<receiver: Host>' type=Host origin=null
property: CALLABLE_REFERENCE 'testMember: String' type=kotlin.reflect.KProperty1<Host, kotlin.String> origin=PROPERTY_REFERENCE_FOR_DELEGATE property: CALLABLE_REFERENCE 'testMember: String' type=kotlin.reflect.KProperty1<Host, kotlin.String> origin=PROPERTY_REFERENCE_FOR_DELEGATE
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -30,6 +30,9 @@ FILE /memberExtension.kt
$this: GET_VAR 'value-parameter receiver: String' type=kotlin.String origin=null $this: GET_VAR 'value-parameter receiver: String' type=kotlin.String origin=null
other: CALL '<get-s>(): String' type=kotlin.String origin=GET_PROPERTY other: CALL '<get-s>(): String' type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR '<receiver: StringDelegate>' type=Host.StringDelegate origin=null $this: GET_VAR '<receiver: StringDelegate>' type=Host.StringDelegate origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public final operator fun kotlin.String.provideDelegate(host: kotlin.Any?, p: kotlin.Any): Host.StringDelegate FUN public final operator fun kotlin.String.provideDelegate(host: kotlin.Any?, p: kotlin.Any): Host.StringDelegate
$this: VALUE_PARAMETER <receiver: Host> $this: VALUE_PARAMETER <receiver: Host>
$receiver: VALUE_PARAMETER <receiver: provideDelegate(Any?, Any) on String: Host.StringDelegate> $receiver: VALUE_PARAMETER <receiver: provideDelegate(Any?, Any) on String: Host.StringDelegate>
@@ -69,3 +72,6 @@ FILE /memberExtension.kt
RETURN type=kotlin.Nothing from='<get-ok>(): String' RETURN type=kotlin.Nothing from='<get-ok>(): String'
GET_FIELD 'ok: String' type=kotlin.String origin=null GET_FIELD 'ok: String' type=kotlin.String origin=null
receiver: GET_VAR '<receiver: Host>' type=Host origin=null receiver: GET_VAR '<receiver: Host>' type=Host origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -23,6 +23,9 @@ FILE /topLevel.kt
RETURN type=kotlin.Nothing from='getValue(Any?, Any?): String' RETURN type=kotlin.Nothing from='getValue(Any?, Any?): String'
CALL '<get-value>(): String' type=kotlin.String origin=GET_PROPERTY CALL '<get-value>(): String' type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR '<receiver: Delegate>' type=Delegate origin=null $this: GET_VAR '<receiver: Delegate>' type=Delegate origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS DelegateProvider CLASS CLASS DelegateProvider
CONSTRUCTOR public constructor DelegateProvider(value: kotlin.String) CONSTRUCTOR public constructor DelegateProvider(value: kotlin.String)
VALUE_PARAMETER value-parameter value: kotlin.String VALUE_PARAMETER value-parameter value: kotlin.String
@@ -48,6 +51,9 @@ FILE /topLevel.kt
CALL 'constructor Delegate(String)' type=Delegate origin=null CALL 'constructor Delegate(String)' type=Delegate origin=null
value: CALL '<get-value>(): String' type=kotlin.String origin=GET_PROPERTY value: CALL '<get-value>(): String' type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR '<receiver: DelegateProvider>' type=DelegateProvider origin=null $this: GET_VAR '<receiver: DelegateProvider>' type=DelegateProvider origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
PROPERTY public val testTopLevel: kotlin.String PROPERTY public val testTopLevel: kotlin.String
FIELD DELEGATE val `testTopLevel$delegate`: Delegate FIELD DELEGATE val `testTopLevel$delegate`: Delegate
EXPRESSION_BODY EXPRESSION_BODY
@@ -9,3 +9,6 @@ FILE /typeAlias.kt
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='C' INSTANCE_INITIALIZER_CALL classDescriptor='C'
TYPEALIAS typealias TestNested = String type=kotlin.String TYPEALIAS typealias TestNested = String type=kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -7,6 +7,9 @@ FILE /suppressedNonPublicCall.kt
FUN internal final fun bar(): kotlin.Unit FUN internal final fun bar(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: C> $this: VALUE_PARAMETER <receiver: C>
BLOCK_BODY BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public inline fun C.foo(): kotlin.Unit FUN public inline fun C.foo(): kotlin.Unit
$receiver: VALUE_PARAMETER <receiver: foo() on C: Unit> $receiver: VALUE_PARAMETER <receiver: foo() on C: Unit>
BLOCK_BODY BLOCK_BODY
@@ -27,6 +27,9 @@ FILE /arrayAugmentedAssignment1.kt
RETURN type=kotlin.Nothing from='<get-x>(): IntArray' RETURN type=kotlin.Nothing from='<get-x>(): IntArray'
GET_FIELD 'x: IntArray' type=kotlin.IntArray origin=null GET_FIELD 'x: IntArray' type=kotlin.IntArray origin=null
receiver: GET_VAR '<receiver: C>' type=C origin=null receiver: GET_VAR '<receiver: C>' type=C origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun testVariable(): kotlin.Unit FUN public fun testVariable(): kotlin.Unit
BLOCK_BODY BLOCK_BODY
VAR var x: kotlin.IntArray VAR var x: kotlin.IntArray
@@ -3,12 +3,18 @@ FILE /arrayAugmentedAssignment2.kt
FUN public abstract operator fun get(index: kotlin.String): kotlin.Int FUN public abstract operator fun get(index: kotlin.String): kotlin.Int
$this: VALUE_PARAMETER <receiver: IA> $this: VALUE_PARAMETER <receiver: IA>
VALUE_PARAMETER value-parameter index: kotlin.String VALUE_PARAMETER value-parameter index: kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE IB CLASS INTERFACE IB
FUN public abstract operator fun IA.set(index: kotlin.String, value: kotlin.Int): kotlin.Unit FUN public abstract operator fun IA.set(index: kotlin.String, value: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: IB> $this: VALUE_PARAMETER <receiver: IB>
$receiver: VALUE_PARAMETER <receiver: set(String, Int) on IA: Unit> $receiver: VALUE_PARAMETER <receiver: set(String, Int) on IA: Unit>
VALUE_PARAMETER value-parameter index: kotlin.String VALUE_PARAMETER value-parameter index: kotlin.String
VALUE_PARAMETER value-parameter value: kotlin.Int VALUE_PARAMETER value-parameter value: kotlin.Int
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun IB.test(a: IA): kotlin.Unit FUN public fun IB.test(a: IA): kotlin.Unit
$receiver: VALUE_PARAMETER <receiver: test(IA) on IB: Unit> $receiver: VALUE_PARAMETER <receiver: test(IA) on IB: Unit>
VALUE_PARAMETER value-parameter a: IA VALUE_PARAMETER value-parameter a: IA
@@ -22,6 +22,9 @@ FILE /assignments.kt
SET_FIELD 'x: Int' type=kotlin.Unit origin=null SET_FIELD 'x: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: Ref>' type=Ref origin=null receiver: GET_VAR '<receiver: Ref>' type=Ref origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun test1(): kotlin.Unit FUN public fun test1(): kotlin.Unit
BLOCK_BODY BLOCK_BODY
VAR var x: kotlin.Int VAR var x: kotlin.Int
@@ -4,6 +4,9 @@ FILE /augmentedAssignment2.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='A' INSTANCE_INITIALIZER_CALL classDescriptor='A'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public operator fun A.plusAssign(s: kotlin.String): kotlin.Unit FUN public operator fun A.plusAssign(s: kotlin.String): kotlin.Unit
$receiver: VALUE_PARAMETER <receiver: plusAssign(String) on A: Unit> $receiver: VALUE_PARAMETER <receiver: plusAssign(String) on A: Unit>
VALUE_PARAMETER value-parameter s: kotlin.String VALUE_PARAMETER value-parameter s: kotlin.String
@@ -14,6 +14,9 @@ FILE /augmentedAssignmentWithExpression.kt
CALL 'plusAssign(Int): Unit' type=kotlin.Unit origin=PLUSEQ CALL 'plusAssign(Int): Unit' type=kotlin.Unit origin=PLUSEQ
$this: GET_VAR '<receiver: Host>' type=Host origin=null $this: GET_VAR '<receiver: Host>' type=Host origin=null
x: CONST Int type=kotlin.Int value='1' x: CONST Int type=kotlin.Int value='1'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun foo(): Host FUN public fun foo(): Host
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='foo(): Host' RETURN type=kotlin.Nothing from='foo(): Host'
@@ -17,6 +17,9 @@ FILE /boundCallableReferences.kt
RETURN type=kotlin.Nothing from='<get-bar>(): Int' RETURN type=kotlin.Nothing from='<get-bar>(): Int'
GET_FIELD 'bar: Int' type=kotlin.Int origin=null GET_FIELD 'bar: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: A>' type=A origin=null receiver: GET_VAR '<receiver: A>' type=A origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun A.qux(): kotlin.Unit FUN public fun A.qux(): kotlin.Unit
$receiver: VALUE_PARAMETER <receiver: qux() on A: Unit> $receiver: VALUE_PARAMETER <receiver: qux() on A: Unit>
BLOCK_BODY BLOCK_BODY
@@ -14,6 +14,9 @@ FILE /chainOfSafeCalls.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='bar(): C?' RETURN type=kotlin.Nothing from='bar(): C?'
GET_VAR '<receiver: C>' type=C origin=null GET_VAR '<receiver: C>' type=C origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun test(nc: C?): C? FUN public fun test(nc: C?): C?
VALUE_PARAMETER value-parameter nc: C? VALUE_PARAMETER value-parameter nc: C?
BLOCK_BODY BLOCK_BODY
@@ -4,6 +4,9 @@ FILE /classReference.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='A' INSTANCE_INITIALIZER_CALL classDescriptor='A'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun test(): kotlin.Unit FUN public fun test(): kotlin.Unit
BLOCK_BODY BLOCK_BODY
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
@@ -65,6 +65,15 @@ FILE /complexAugmentedAssignment.kt
SET_FIELD 'x3: Int' type=kotlin.Unit origin=null SET_FIELD 'x3: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: X3>' type=X1.X2.X3 origin=null receiver: GET_VAR '<receiver: X3>' type=X1.X2.X3 origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun test1(a: kotlin.IntArray): kotlin.Unit FUN public fun test1(a: kotlin.IntArray): kotlin.Unit
VALUE_PARAMETER value-parameter a: kotlin.IntArray VALUE_PARAMETER value-parameter a: kotlin.IntArray
BLOCK_BODY BLOCK_BODY
@@ -158,6 +167,9 @@ FILE /complexAugmentedAssignment.kt
SET_FIELD 's: Int' type=kotlin.Unit origin=null SET_FIELD 's: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: B>' type=B origin=null receiver: GET_VAR '<receiver: B>' type=B origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT Host CLASS OBJECT Host
CONSTRUCTOR private constructor Host() CONSTRUCTOR private constructor Host()
BLOCK_BODY BLOCK_BODY
@@ -178,6 +190,9 @@ FILE /complexAugmentedAssignment.kt
$this: GET_VAR 'tmp0_this: B' type=B origin=null $this: GET_VAR 'tmp0_this: B' type=B origin=null
other: CALL '<get-s>(): Int' type=kotlin.Int origin=GET_PROPERTY other: CALL '<get-s>(): Int' type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR 'value-parameter b: B' type=B origin=null $this: GET_VAR 'value-parameter b: B' type=B origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun Host.test3(v: B): kotlin.Unit FUN public fun Host.test3(v: B): kotlin.Unit
$receiver: VALUE_PARAMETER <receiver: test3(B) on Host: Unit> $receiver: VALUE_PARAMETER <receiver: test3(B) on Host: Unit>
VALUE_PARAMETER value-parameter v: B VALUE_PARAMETER value-parameter v: B
@@ -4,6 +4,9 @@ FILE /contructorCall.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='A' INSTANCE_INITIALIZER_CALL classDescriptor='A'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
PROPERTY public val test: A PROPERTY public val test: A
FIELD PROPERTY_BACKING_FIELD public val test: A FIELD PROPERTY_BACKING_FIELD public val test: A
EXPRESSION_BODY EXPRESSION_BODY
@@ -1,10 +1,16 @@
FILE /conventionComparisons.kt FILE /conventionComparisons.kt
CLASS INTERFACE IA CLASS INTERFACE IA
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE IB CLASS INTERFACE IB
FUN public abstract operator fun IA.compareTo(other: IA): kotlin.Int FUN public abstract operator fun IA.compareTo(other: IA): kotlin.Int
$this: VALUE_PARAMETER <receiver: IB> $this: VALUE_PARAMETER <receiver: IB>
$receiver: VALUE_PARAMETER <receiver: compareTo(IA) on IA: Int> $receiver: VALUE_PARAMETER <receiver: compareTo(IA) on IA: Int>
VALUE_PARAMETER value-parameter other: IA VALUE_PARAMETER value-parameter other: IA
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun IB.test1(a1: IA, a2: IA): kotlin.Boolean FUN public fun IB.test1(a1: IA, a2: IA): kotlin.Boolean
$receiver: VALUE_PARAMETER <receiver: test1(IA, IA) on IB: Boolean> $receiver: VALUE_PARAMETER <receiver: test1(IA, IA) on IB: Boolean>
VALUE_PARAMETER value-parameter a1: IA VALUE_PARAMETER value-parameter a1: IA
@@ -4,6 +4,9 @@ FILE /destructuring1.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='A' INSTANCE_INITIALIZER_CALL classDescriptor='A'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT B CLASS OBJECT B
CONSTRUCTOR private constructor B() CONSTRUCTOR private constructor B()
BLOCK_BODY BLOCK_BODY
@@ -21,6 +24,9 @@ FILE /destructuring1.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='component2() on A: Int' RETURN type=kotlin.Nothing from='component2() on A: Int'
CONST Int type=kotlin.Int value='2' CONST Int type=kotlin.Int value='2'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun B.test(): kotlin.Unit FUN public fun B.test(): kotlin.Unit
$receiver: VALUE_PARAMETER <receiver: test() on B: Unit> $receiver: VALUE_PARAMETER <receiver: test() on B: Unit>
BLOCK_BODY BLOCK_BODY
@@ -4,6 +4,9 @@ FILE /destructuringWithUnderscore.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='A' INSTANCE_INITIALIZER_CALL classDescriptor='A'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT B CLASS OBJECT B
CONSTRUCTOR private constructor B() CONSTRUCTOR private constructor B()
BLOCK_BODY BLOCK_BODY
@@ -27,6 +30,9 @@ FILE /destructuringWithUnderscore.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='component3() on A: Int' RETURN type=kotlin.Nothing from='component3() on A: Int'
CONST Int type=kotlin.Int value='3' CONST Int type=kotlin.Int value='3'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun B.test(): kotlin.Unit FUN public fun B.test(): kotlin.Unit
$receiver: VALUE_PARAMETER <receiver: test() on B: Unit> $receiver: VALUE_PARAMETER <receiver: test() on B: Unit>
BLOCK_BODY BLOCK_BODY
@@ -4,6 +4,9 @@ FILE /forWithImplicitReceivers.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='FiveTimes' INSTANCE_INITIALIZER_CALL classDescriptor='FiveTimes'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS IntCell CLASS CLASS IntCell
CONSTRUCTOR public constructor IntCell(value: kotlin.Int) CONSTRUCTOR public constructor IntCell(value: kotlin.Int)
VALUE_PARAMETER value-parameter value: kotlin.Int VALUE_PARAMETER value-parameter value: kotlin.Int
@@ -27,6 +30,9 @@ FILE /forWithImplicitReceivers.kt
SET_FIELD 'value: Int' type=kotlin.Unit origin=null SET_FIELD 'value: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: IntCell>' type=IntCell origin=null receiver: GET_VAR '<receiver: IntCell>' type=IntCell origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE IReceiver CLASS INTERFACE IReceiver
FUN public open operator fun FiveTimes.iterator(): IntCell FUN public open operator fun FiveTimes.iterator(): IntCell
$this: VALUE_PARAMETER <receiver: IReceiver> $this: VALUE_PARAMETER <receiver: IReceiver>
@@ -62,6 +68,9 @@ FILE /forWithImplicitReceivers.kt
<set-?>: CALL 'dec(): Int' type=kotlin.Int origin=POSTFIX_DECR <set-?>: CALL 'dec(): Int' type=kotlin.Int origin=POSTFIX_DECR
$this: GET_VAR 'tmp1: Int' type=kotlin.Int origin=null $this: GET_VAR 'tmp1: Int' type=kotlin.Int origin=null
GET_VAR 'tmp1: Int' type=kotlin.Int origin=null GET_VAR 'tmp1: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun IReceiver.test(): kotlin.Unit FUN public fun IReceiver.test(): kotlin.Unit
$receiver: VALUE_PARAMETER <receiver: test() on IReceiver: Unit> $receiver: VALUE_PARAMETER <receiver: test() on IReceiver: Unit>
BLOCK_BODY BLOCK_BODY
@@ -22,3 +22,7 @@ FILE /Derived.kt
SET_FIELD 'value: Int' type=kotlin.Unit origin=EQ SET_FIELD 'value: Int' type=kotlin.Unit origin=EQ
receiver: GET_VAR '<receiver: Derived>' type=Derived origin=null receiver: GET_VAR '<receiver: Derived>' type=Derived origin=null
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
PROPERTY FAKE_OVERRIDE public final override var value: kotlin.Int
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -50,3 +50,6 @@ FILE /jvmStaticFieldReference.kt
$this: TYPE_OP type=java.io.PrintStream origin=IMPLICIT_NOTNULL typeOperand=java.io.PrintStream $this: TYPE_OP type=java.io.PrintStream origin=IMPLICIT_NOTNULL typeOperand=java.io.PrintStream
GET_FIELD 'out: PrintStream!' type=java.io.PrintStream! origin=GET_PROPERTY GET_FIELD 'out: PrintStream!' type=java.io.PrintStream! origin=GET_PROPERTY
p0: CONST String type=kotlin.String value='TestClass/init' p0: CONST String type=kotlin.String value='TestClass/init'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -32,6 +32,9 @@ FILE /membersImportedFromObject.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-barExt>() on Int: Int' RETURN type=kotlin.Nothing from='<get-barExt>() on Int: Int'
CONST Int type=kotlin.Int value='43' CONST Int type=kotlin.Int value='43'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
PROPERTY public val test1: kotlin.Int PROPERTY public val test1: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public val test1: kotlin.Int FIELD PROPERTY_BACKING_FIELD public val test1: kotlin.Int
EXPRESSION_BODY EXPRESSION_BODY
@@ -4,6 +4,9 @@ FILE /objectAsCallable.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='A' INSTANCE_INITIALIZER_CALL classDescriptor='A'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS ENUM_CLASS En CLASS ENUM_CLASS En
CONSTRUCTOR private constructor En() CONSTRUCTOR private constructor En()
BLOCK_BODY BLOCK_BODY
@@ -11,6 +14,17 @@ FILE /objectAsCallable.kt
INSTANCE_INITIALIZER_CALL classDescriptor='En' INSTANCE_INITIALIZER_CALL classDescriptor='En'
ENUM_ENTRY enum entry X ENUM_ENTRY enum entry X
init: ENUM_CONSTRUCTOR_CALL 'constructor En()' init: ENUM_CONSTRUCTOR_CALL 'constructor En()'
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<En!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: En): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<En> FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<En>
SYNTHETIC_BODY kind=ENUM_VALUES SYNTHETIC_BODY kind=ENUM_VALUES
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): En FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): En
@@ -4,6 +4,9 @@ FILE /objectClassReference.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='A' INSTANCE_INITIALIZER_CALL classDescriptor='A'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun test(): kotlin.Unit FUN public fun test(): kotlin.Unit
BLOCK_BODY BLOCK_BODY
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
@@ -102,3 +102,6 @@ FILE /primitivesImplicitConversions.kt
RETURN type=kotlin.Nothing from='<get-x>(): Long' RETURN type=kotlin.Nothing from='<get-x>(): Long'
GET_FIELD 'x: Long' type=kotlin.Long origin=null GET_FIELD 'x: Long' type=kotlin.Long origin=null
receiver: GET_VAR '<receiver: TestImplicitArguments>' type=TestImplicitArguments origin=null receiver: GET_VAR '<receiver: TestImplicitArguments>' type=TestImplicitArguments origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -7,6 +7,9 @@ FILE /reflectionLiterals.kt
FUN public final fun foo(): kotlin.Unit FUN public final fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: A> $this: VALUE_PARAMETER <receiver: A>
BLOCK_BODY BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun bar(): kotlin.Unit FUN public fun bar(): kotlin.Unit
BLOCK_BODY BLOCK_BODY
PROPERTY public val qux: kotlin.Int = 42 PROPERTY public val qux: kotlin.Int = 42
@@ -22,6 +22,9 @@ FILE /safeAssignment.kt
SET_FIELD 'x: Int' type=kotlin.Unit origin=null SET_FIELD 'x: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: C>' type=C origin=null receiver: GET_VAR '<receiver: C>' type=C origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun test(nc: C?): kotlin.Unit FUN public fun test(nc: C?): kotlin.Unit
VALUE_PARAMETER value-parameter nc: C? VALUE_PARAMETER value-parameter nc: C?
BLOCK_BODY BLOCK_BODY
@@ -4,6 +4,9 @@ FILE /safeCallWithIncrementDecrement.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='C' INSTANCE_INITIALIZER_CALL classDescriptor='C'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
PROPERTY public var test.C?.p: kotlin.Int PROPERTY public var test.C?.p: kotlin.Int
FUN public fun test.C?.<get-p>(): kotlin.Int FUN public fun test.C?.<get-p>(): kotlin.Int
$receiver: VALUE_PARAMETER <receiver: p: Int on C?> $receiver: VALUE_PARAMETER <receiver: p: Int on C?>
+6
View File
@@ -22,6 +22,9 @@ FILE /safeCalls.kt
SET_FIELD 'value: Int' type=kotlin.Unit origin=null SET_FIELD 'value: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: Ref>' type=Ref origin=null receiver: GET_VAR '<receiver: Ref>' type=Ref origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE IHost CLASS INTERFACE IHost
FUN public open fun kotlin.String.extLength(): kotlin.Int FUN public open fun kotlin.String.extLength(): kotlin.Int
$this: VALUE_PARAMETER <receiver: IHost> $this: VALUE_PARAMETER <receiver: IHost>
@@ -30,6 +33,9 @@ FILE /safeCalls.kt
RETURN type=kotlin.Nothing from='extLength() on String: Int' RETURN type=kotlin.Nothing from='extLength() on String: Int'
CALL '<get-length>(): Int' type=kotlin.Int origin=GET_PROPERTY CALL '<get-length>(): Int' type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR '<receiver: extLength() on String: Int>' type=kotlin.String origin=null $this: GET_VAR '<receiver: extLength() on String: Int>' type=kotlin.String origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun test1(x: kotlin.String?): kotlin.Int? FUN public fun test1(x: kotlin.String?): kotlin.Int?
VALUE_PARAMETER value-parameter x: kotlin.String? VALUE_PARAMETER value-parameter x: kotlin.String?
BLOCK_BODY BLOCK_BODY
@@ -17,3 +17,7 @@ FILE /Derived.kt
receiver: GET_VAR '<receiver: Derived>' type=Derived origin=null receiver: GET_VAR '<receiver: Derived>' type=Derived origin=null
value: TYPE_OP type=kotlin.String! origin=IMPLICIT_CAST typeOperand=kotlin.String! value: TYPE_OP type=kotlin.String! origin=IMPLICIT_CAST typeOperand=kotlin.String!
GET_VAR 'value-parameter v: Any' type=kotlin.Any origin=null GET_VAR 'value-parameter v: Any' type=kotlin.Any origin=null
PROPERTY FAKE_OVERRIDE public final override var value: kotlin.String!
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -1,6 +1,12 @@
FILE /smartCastsWithDestructuring.kt FILE /smartCastsWithDestructuring.kt
CLASS INTERFACE I1 CLASS INTERFACE I1
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE I2 CLASS INTERFACE I2
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public operator fun I1.component1(): kotlin.Int FUN public operator fun I1.component1(): kotlin.Int
$receiver: VALUE_PARAMETER <receiver: component1() on I1: Int> $receiver: VALUE_PARAMETER <receiver: component1() on I1: Int>
BLOCK_BODY BLOCK_BODY
@@ -1,5 +1,8 @@
FILE /typeOperators.kt FILE /typeOperators.kt
CLASS INTERFACE IThing CLASS INTERFACE IThing
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun test1(x: kotlin.Any): kotlin.Boolean FUN public fun test1(x: kotlin.Any): kotlin.Boolean
VALUE_PARAMETER value-parameter x: kotlin.Any VALUE_PARAMETER value-parameter x: kotlin.Any
BLOCK_BODY BLOCK_BODY
+20
View File
@@ -6,6 +6,17 @@ FILE /values.kt
INSTANCE_INITIALIZER_CALL classDescriptor='Enum' INSTANCE_INITIALIZER_CALL classDescriptor='Enum'
ENUM_ENTRY enum entry A ENUM_ENTRY enum entry A
init: ENUM_CONSTRUCTOR_CALL 'constructor Enum()' init: ENUM_CONSTRUCTOR_CALL 'constructor Enum()'
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<Enum!>!
FUN FAKE_OVERRIDE public final override fun compareTo(other: Enum): kotlin.Int
FUN FAKE_OVERRIDE public final override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public final override fun hashCode(): kotlin.Int
PROPERTY FAKE_OVERRIDE public final override val name: kotlin.String
FUN FAKE_OVERRIDE public final override fun <get-name>(): kotlin.String
PROPERTY FAKE_OVERRIDE public final override val ordinal: kotlin.Int
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<Enum> FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<Enum>
SYNTHETIC_BODY kind=ENUM_VALUES SYNTHETIC_BODY kind=ENUM_VALUES
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Enum FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Enum
@@ -15,6 +26,9 @@ FILE /values.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='A' INSTANCE_INITIALIZER_CALL classDescriptor='A'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
PROPERTY public val a: kotlin.Int = 0 PROPERTY public val a: kotlin.Int = 0
FIELD PROPERTY_BACKING_FIELD public val a: kotlin.Int = 0 FIELD PROPERTY_BACKING_FIELD public val a: kotlin.Int = 0
EXPRESSION_BODY EXPRESSION_BODY
@@ -33,6 +47,12 @@ FILE /values.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='companion object of Z' INSTANCE_INITIALIZER_CALL classDescriptor='companion object of Z'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun test1(): Enum FUN public fun test1(): Enum
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='test1(): Enum' RETURN type=kotlin.Nothing from='test1(): Enum'
+3
View File
@@ -4,6 +4,9 @@ FILE /when.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='A' INSTANCE_INITIALIZER_CALL classDescriptor='A'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun testWithSubject(x: kotlin.Any?): kotlin.String FUN public fun testWithSubject(x: kotlin.Any?): kotlin.String
VALUE_PARAMETER value-parameter x: kotlin.Any? VALUE_PARAMETER value-parameter x: kotlin.Any?
BLOCK_BODY BLOCK_BODY
@@ -4,11 +4,17 @@ FILE /multipleImplicitReceivers.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='A' INSTANCE_INITIALIZER_CALL classDescriptor='A'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT B CLASS OBJECT B
CONSTRUCTOR private constructor B() CONSTRUCTOR private constructor B()
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='B' INSTANCE_INITIALIZER_CALL classDescriptor='B'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE IFoo CLASS INTERFACE IFoo
PROPERTY public open val A.foo: B PROPERTY public open val A.foo: B
FUN public open fun A.<get-foo>(): B FUN public open fun A.<get-foo>(): B
@@ -17,6 +23,9 @@ FILE /multipleImplicitReceivers.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-foo>() on A: B' RETURN type=kotlin.Nothing from='<get-foo>() on A: B'
GET_OBJECT 'B' type=B GET_OBJECT 'B' type=B
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE IInvoke CLASS INTERFACE IInvoke
FUN public open operator fun B.invoke(): kotlin.Int FUN public open operator fun B.invoke(): kotlin.Int
$this: VALUE_PARAMETER <receiver: IInvoke> $this: VALUE_PARAMETER <receiver: IInvoke>
@@ -24,6 +33,9 @@ FILE /multipleImplicitReceivers.kt
BLOCK_BODY BLOCK_BODY
RETURN type=kotlin.Nothing from='invoke() on B: Int' RETURN type=kotlin.Nothing from='invoke() on B: Int'
CONST Int type=kotlin.Int value='42' CONST Int type=kotlin.Int value='42'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun test(fooImpl: IFoo, invokeImpl: IInvoke): kotlin.Unit FUN public fun test(fooImpl: IFoo, invokeImpl: IInvoke): kotlin.Unit
VALUE_PARAMETER value-parameter fooImpl: IFoo VALUE_PARAMETER value-parameter fooImpl: IFoo
VALUE_PARAMETER value-parameter invokeImpl: IInvoke VALUE_PARAMETER value-parameter invokeImpl: IInvoke
@@ -1,5 +1,8 @@
FILE /integerCoercionToT.kt FILE /integerCoercionToT.kt
CLASS INTERFACE CPointed CLASS INTERFACE CPointed
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public inline fun <reified T : CPointed> CPointed.reinterpret(): T FUN public inline fun <reified T : CPointed> CPointed.reinterpret(): T
TYPE_PARAMETER <reified T : CPointed> TYPE_PARAMETER <reified T : CPointed>
$receiver: VALUE_PARAMETER <receiver: reinterpret() on CPointed: T> $receiver: VALUE_PARAMETER <receiver: reinterpret() on CPointed: T>
@@ -13,6 +16,9 @@ FILE /integerCoercionToT.kt
BLOCK_BODY BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='CInt32VarX' INSTANCE_INITIALIZER_CALL classDescriptor='CInt32VarX'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
TYPEALIAS typealias CInt32Var = CInt32VarX<Int> type=CInt32VarX<kotlin.Int> TYPEALIAS typealias CInt32Var = CInt32VarX<Int> type=CInt32VarX<kotlin.Int>
PROPERTY public var <T_INT : kotlin.Int> CInt32VarX<T_INT>.value: T_INT PROPERTY public var <T_INT : kotlin.Int> CInt32VarX<T_INT>.value: T_INT
FUN public fun CInt32VarX<T_INT>.<get-value>(): T_INT FUN public fun CInt32VarX<T_INT>.<get-value>(): T_INT
@@ -40,6 +46,9 @@ FILE /integerCoercionToT.kt
RETURN type=kotlin.Nothing from='<get-value>(): Int' RETURN type=kotlin.Nothing from='<get-value>(): Int'
GET_FIELD 'value: Int' type=kotlin.Int origin=null GET_FIELD 'value: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: IdType>' type=IdType origin=null receiver: GET_VAR '<receiver: IdType>' type=IdType origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun foo(value: IdType, cv: CInt32Var /* = CInt32VarX<kotlin.Int> */): kotlin.Unit FUN public fun foo(value: IdType, cv: CInt32Var /* = CInt32VarX<kotlin.Int> */): kotlin.Unit
VALUE_PARAMETER value-parameter value: IdType VALUE_PARAMETER value-parameter value: IdType
VALUE_PARAMETER value-parameter cv: CInt32Var /* = CInt32VarX<kotlin.Int> */ VALUE_PARAMETER value-parameter cv: CInt32Var /* = CInt32VarX<kotlin.Int> */
+6
View File
@@ -17,3 +17,9 @@ FILE /companion.kt
FUN public final fun test(): kotlin.Unit FUN public final fun test(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: companion object of Z> $this: VALUE_PARAMETER <receiver: companion object of Z>
BLOCK_BODY BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
+6
View File
@@ -17,3 +17,9 @@ FILE /object.kt
BLOCK_BODY BLOCK_BODY
CALL 'test(): Unit' type=kotlin.Unit origin=null CALL 'test(): Unit' type=kotlin.Unit origin=null
$this: GET_OBJECT 'Z' type=Z $this: GET_OBJECT 'Z' type=Z
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -239,6 +239,12 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
doTest(fileName); doTest(fileName);
} }
@TestMetadata("fakeOverrides.kt")
public void testFakeOverrides() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/declarations/fakeOverrides.kt");
doTest(fileName);
}
@TestMetadata("fileWithAnnotations.kt") @TestMetadata("fileWithAnnotations.kt")
public void testFileWithAnnotations() throws Exception { public void testFileWithAnnotations() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/declarations/fileWithAnnotations.kt"); String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/declarations/fileWithAnnotations.kt");