FILE /initVar.kt CLASS CLASS TestInitVarFromParameter CONSTRUCTOR public constructor TestInitVarFromParameter(x: kotlin.Int) BLOCK_BODY DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarFromParameter' PROPERTY public final var x: kotlin.Int FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int EXPRESSION_BODY GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER FUN DEFAULT_PROPERTY_ACCESSOR public final fun (): kotlin.Int BLOCK_BODY RETURN type=kotlin.Nothing from='(): Int' GET_FIELD 'x: Int' type=kotlin.Int origin=null receiver: GET_VAR '' type=TestInitVarFromParameter origin=null FUN DEFAULT_PROPERTY_ACCESSOR public final fun (: kotlin.Int): kotlin.Unit BLOCK_BODY SET_FIELD 'x: Int' type=kotlin.Unit origin=null receiver: GET_VAR '' type=TestInitVarFromParameter origin=null value: GET_VAR 'value-parameter : Int' type=kotlin.Int origin=null CLASS CLASS TestInitVarInClass CONSTRUCTOR public constructor TestInitVarInClass() BLOCK_BODY DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarInClass' PROPERTY public final var x: kotlin.Int FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int EXPRESSION_BODY CONST Int type=kotlin.Int value='0' FUN DEFAULT_PROPERTY_ACCESSOR public final fun (): kotlin.Int BLOCK_BODY RETURN type=kotlin.Nothing from='(): Int' GET_FIELD 'x: Int' type=kotlin.Int origin=null receiver: GET_VAR '' type=TestInitVarInClass origin=null FUN DEFAULT_PROPERTY_ACCESSOR public final fun (: kotlin.Int): kotlin.Unit BLOCK_BODY SET_FIELD 'x: Int' type=kotlin.Unit origin=null receiver: GET_VAR '' type=TestInitVarInClass origin=null value: GET_VAR 'value-parameter : Int' type=kotlin.Int origin=null CLASS CLASS TestInitVarInInitBlock CONSTRUCTOR public constructor TestInitVarInInitBlock() BLOCK_BODY DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarInInitBlock' PROPERTY public final var x: kotlin.Int FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int FUN DEFAULT_PROPERTY_ACCESSOR public final fun (): kotlin.Int BLOCK_BODY RETURN type=kotlin.Nothing from='(): Int' GET_FIELD 'x: Int' type=kotlin.Int origin=null receiver: GET_VAR '' type=TestInitVarInInitBlock origin=null FUN DEFAULT_PROPERTY_ACCESSOR public final fun (: kotlin.Int): kotlin.Unit BLOCK_BODY SET_FIELD 'x: Int' type=kotlin.Unit origin=null receiver: GET_VAR '' type=TestInitVarInInitBlock origin=null value: GET_VAR 'value-parameter : Int' type=kotlin.Int origin=null ANONYMOUS_INITIALIZER TestInitVarInInitBlock BLOCK_BODY CALL '(Int): Unit' type=kotlin.Unit origin=EQ $this: GET_VAR '' type=TestInitVarInInitBlock origin=null : CONST Int type=kotlin.Int value='0' CLASS CLASS TestInitVarWithCustomSetter CONSTRUCTOR public constructor TestInitVarWithCustomSetter() BLOCK_BODY DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarWithCustomSetter' PROPERTY public final var x: kotlin.Int FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int EXPRESSION_BODY CONST Int type=kotlin.Int value='0' FUN DEFAULT_PROPERTY_ACCESSOR public final fun (): kotlin.Int BLOCK_BODY RETURN type=kotlin.Nothing from='(): Int' GET_FIELD 'x: Int' type=kotlin.Int origin=null receiver: GET_VAR '' type=TestInitVarWithCustomSetter origin=null FUN public final fun (value: kotlin.Int): kotlin.Unit BLOCK_BODY SET_FIELD 'x: Int' type=kotlin.Unit origin=EQ receiver: GET_VAR '' type=TestInitVarWithCustomSetter origin=null value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null CLASS CLASS TestInitVarWithCustomSetterWithExplicitCtor PROPERTY public final var x: kotlin.Int FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int FUN DEFAULT_PROPERTY_ACCESSOR public final fun (): kotlin.Int BLOCK_BODY RETURN type=kotlin.Nothing from='(): Int' GET_FIELD 'x: Int' type=kotlin.Int origin=null receiver: GET_VAR '' type=TestInitVarWithCustomSetterWithExplicitCtor origin=null FUN public final fun (value: kotlin.Int): kotlin.Unit BLOCK_BODY SET_FIELD 'x: Int' type=kotlin.Unit origin=EQ receiver: GET_VAR '' type=TestInitVarWithCustomSetterWithExplicitCtor origin=null value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null ANONYMOUS_INITIALIZER TestInitVarWithCustomSetterWithExplicitCtor BLOCK_BODY CALL '(Int): Unit' type=kotlin.Unit origin=EQ $this: GET_VAR '' type=TestInitVarWithCustomSetterWithExplicitCtor origin=null value: CONST Int type=kotlin.Int value='0' CONSTRUCTOR public constructor TestInitVarWithCustomSetterWithExplicitCtor() BLOCK_BODY DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarWithCustomSetterWithExplicitCtor' CLASS CLASS TestInitVarWithCustomSetterInCtor PROPERTY public final var x: kotlin.Int FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int FUN DEFAULT_PROPERTY_ACCESSOR public final fun (): kotlin.Int BLOCK_BODY RETURN type=kotlin.Nothing from='(): Int' GET_FIELD 'x: Int' type=kotlin.Int origin=null receiver: GET_VAR '' type=TestInitVarWithCustomSetterInCtor origin=null FUN public final fun (value: kotlin.Int): kotlin.Unit BLOCK_BODY SET_FIELD 'x: Int' type=kotlin.Unit origin=EQ receiver: GET_VAR '' type=TestInitVarWithCustomSetterInCtor origin=null value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null CONSTRUCTOR public constructor TestInitVarWithCustomSetterInCtor() BLOCK_BODY DELEGATING_CONSTRUCTOR_CALL 'constructor Any()' INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarWithCustomSetterInCtor' CALL '(Int): Unit' type=kotlin.Unit origin=EQ $this: GET_VAR '' type=TestInitVarWithCustomSetterInCtor origin=null value: CONST Int type=kotlin.Int value='42'