KT-28324 More exact startOffset for function/constructor declarations

Function/constructor declaration start offset is the start offset of the
corresponding declaration token, if available.
This commit is contained in:
Dmitry Petrov
2018-11-21 18:04:41 +03:00
parent dfe662364d
commit 7dd906db44
26 changed files with 1008 additions and 73 deletions
@@ -5,7 +5,7 @@
@2:0..8:1 BLOCK_BODY
@2:0..8:1 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@2:0..8:1 INSTANCE_INITIALIZER_CALL classDescriptor='Host'
@3:4..38 FUN name:plusAssign visibility:public modality:FINAL <> ($this:test.Host, x:kotlin.Int) returnType:kotlin.Unit flags:
@3:13..38 FUN name:plusAssign visibility:public modality:FINAL <> ($this:test.Host, x:kotlin.Int) returnType:kotlin.Unit flags:
@3:4..38 VALUE_PARAMETER name:<this> type:test.Host flags:
@3:28..34 VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
@3:36..38 BLOCK_BODY
@@ -17,7 +17,7 @@
@6:16..17 CONST Int type=kotlin.Int value=1
@2:0..8:1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@2:0..8:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@-1:-1..-1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@2:0..8:1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@2:0..8:1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@2:0..8:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@2:0..8:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
+9 -9
View File
@@ -5,22 +5,22 @@
@1:0..33:1 BLOCK_BODY
@1:0..33:1 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@1:0..33:1 INSTANCE_INITIALIZER_CALL classDescriptor='Foo'
@8:4..10:36 CLASS CLASS name:Inner modality:FINAL visibility:public flags:inner superTypes:[kotlin.Any]
@8:4..10:36 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Foo.Inner flags:
@8:4..10:36 CONSTRUCTOR visibility:private <> ($this:Foo, x:kotlin.Int) returnType:Foo.Inner flags:primary
@8:10..10:36 CLASS CLASS name:Inner modality:FINAL visibility:public flags:inner superTypes:[kotlin.Any]
@8:10..10:36 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Foo.Inner flags:
@8:60..10:36 CONSTRUCTOR visibility:private <> ($this:Foo, x:kotlin.Int) returnType:Foo.Inner flags:primary
@8:52..79 VALUE_PARAMETER name:<this> type:Foo flags:
@8:72..78 VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
@8:4..10:36 BLOCK_BODY
@8:4..10:36 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@8:4..10:36 INSTANCE_INITIALIZER_CALL classDescriptor='Inner'
@8:4..10:36 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@8:10..10:36 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@8:4..10:36 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@-1:-1..-1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@8:4..10:36 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@8:10..10:36 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@8:10..10:36 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@8:4..10:36 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@8:4..10:36 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@8:10..10:36 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@8:4..10:36 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@18:4..20:39 FUN name:foo visibility:protected modality:OPEN <> ($this:Foo, y:kotlin.Int) returnType:kotlin.Unit flags:
@18:19..20:39 FUN name:foo visibility:protected modality:OPEN <> ($this:Foo, y:kotlin.Int) returnType:kotlin.Unit flags:
@18:4..20:39 VALUE_PARAMETER name:<this> type:Foo flags:
@18:27..33 VALUE_PARAMETER name:y index:0 type:kotlin.Int flags:
@18:35..20:39 BLOCK_BODY
@@ -44,7 +44,7 @@
@31:38..40 CONST Int type=kotlin.Int value=42
@1:0..33:1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@1:0..33:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@-1:-1..-1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@1:0..33:1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@1:0..33:1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@1:0..33:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@1:0..33:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@@ -0,0 +1,24 @@
package test
class Test {
fun test0() {}
/**
* block comment
*/
fun test1() {}
@Suppress(
"UNUSED_VARIABLE"
)
fun test2() {}
private
fun test3() {}
}
@@ -0,0 +1,26 @@
@0:0..23:1 FILE fqName:test fileName:/classFuns.kt
@3:0..23:1 CLASS CLASS name:Test modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
@3:0..23:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:test.Test flags:
@3:0..23:1 CONSTRUCTOR visibility:public <> () returnType:test.Test flags:primary
@3:0..23:1 BLOCK_BODY
@3:0..23:1 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@3:0..23:1 INSTANCE_INITIALIZER_CALL classDescriptor='Test'
@5:4..18 FUN name:test0 visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Unit flags:
@5:4..18 VALUE_PARAMETER name:<this> type:test.Test flags:
@5:16..18 BLOCK_BODY
@11:4..18 FUN name:test1 visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Unit flags:
@11:4..18 VALUE_PARAMETER name:<this> type:test.Test flags:
@11:16..18 BLOCK_BODY
@17:4..18 FUN name:test2 visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Unit flags:
@14:4..17:18 VALUE_PARAMETER name:<this> type:test.Test flags:
@17:16..18 BLOCK_BODY
@21:4..18 FUN name:test3 visibility:private modality:FINAL <> ($this:test.Test) returnType:kotlin.Unit flags:
@20:4..21:18 VALUE_PARAMETER name:<this> type:test.Test flags:
@21:16..18 BLOCK_BODY
@3:0..23:1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@3:0..23:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@3:0..23:1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@3:0..23:1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@3:0..23:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@3:0..23:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@3:0..23:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@@ -0,0 +1,78 @@
package test
class Test {
val test0 = 42
/**
* comment
*/
val test1 = 42
@Suppress(
"UNUSED_VARIABLE"
)
val test2 = 42
private
val test3 = 42
val test4 get() = 42
val test5
get() = 42
val test6
/**
* comment
*/
get() = 42
val test7
@Suppress(
"UNUSED_VARIABLE"
)
get() = 42
var test8 = 42
var test9 = 42; private set
var test10 = 42
private set
var test11 = 42
set(value) {
field = value
}
var test12 = 42
/**
* comment
*/
set(value) {
field = value
}
var test13 = 42
@Suppress(
"UNUSED_VARIABLE"
)
set(value) {
field = value
}
}
@@ -0,0 +1,180 @@
@0:0..77:1 FILE fqName:test fileName:/classProperties.kt
@2:0..77:1 CLASS CLASS name:Test modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
@2:0..77:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:test.Test flags:
@2:0..77:1 CONSTRUCTOR visibility:public <> () returnType:test.Test flags:primary
@2:0..77:1 BLOCK_BODY
@2:0..77:1 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@2:0..77:1 INSTANCE_INITIALIZER_CALL classDescriptor='Test'
@4:4..18 PROPERTY name:test0 visibility:public modality:FINAL flags:val
@4:4..18 FIELD PROPERTY_BACKING_FIELD name:test0 type:kotlin.Int visibility:public flags:final
@4:16..18 EXPRESSION_BODY
@4:16..18 CONST Int type=kotlin.Int value=42
@4:4..18 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test0> visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Int flags:
@4:4..18 VALUE_PARAMETER name:<this> type:test.Test flags:
@4:4..18 BLOCK_BODY
@4:4..18 RETURN type=kotlin.Nothing from='<get-test0>(): Int'
@4:4..18 GET_FIELD 'test0: Int' type=kotlin.Int origin=null
@4:4..18 GET_VAR 'this@Test: Test' type=test.Test origin=null
@10:4..18 PROPERTY name:test1 visibility:public modality:FINAL flags:val
@10:4..18 FIELD PROPERTY_BACKING_FIELD name:test1 type:kotlin.Int visibility:public flags:final
@10:16..18 EXPRESSION_BODY
@10:16..18 CONST Int type=kotlin.Int value=42
@10:4..18 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Int flags:
@10:4..18 VALUE_PARAMETER name:<this> type:test.Test flags:
@10:4..18 BLOCK_BODY
@10:4..18 RETURN type=kotlin.Nothing from='<get-test1>(): Int'
@10:4..18 GET_FIELD 'test1: Int' type=kotlin.Int origin=null
@10:4..18 GET_VAR 'this@Test: Test' type=test.Test origin=null
@13:4..16:18 PROPERTY name:test2 visibility:public modality:FINAL flags:val
@13:4..16:18 FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.Int visibility:public flags:final
@16:16..18 EXPRESSION_BODY
@16:16..18 CONST Int type=kotlin.Int value=42
@16:4..18 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Int flags:
@13:4..16:18 VALUE_PARAMETER name:<this> type:test.Test flags:
@16:4..18 BLOCK_BODY
@16:4..18 RETURN type=kotlin.Nothing from='<get-test2>(): Int'
@16:4..18 GET_FIELD 'test2: Int' type=kotlin.Int origin=null
@16:4..18 GET_VAR 'this@Test: Test' type=test.Test origin=null
@19:4..20:18 PROPERTY name:test3 visibility:private modality:FINAL flags:val
@19:4..20:18 FIELD PROPERTY_BACKING_FIELD name:test3 type:kotlin.Int visibility:private flags:final
@20:16..18 EXPRESSION_BODY
@20:16..18 CONST Int type=kotlin.Int value=42
@20:4..18 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test3> visibility:private modality:FINAL <> ($this:test.Test) returnType:kotlin.Int flags:
@19:4..20:18 VALUE_PARAMETER name:<this> type:test.Test flags:
@20:4..18 BLOCK_BODY
@20:4..18 RETURN type=kotlin.Nothing from='<get-test3>(): Int'
@20:4..18 GET_FIELD 'test3: Int' type=kotlin.Int origin=null
@20:4..18 GET_VAR 'this@Test: Test' type=test.Test origin=null
@23:4..24 PROPERTY name:test4 visibility:public modality:FINAL flags:val
@23:14..24 FUN name:<get-test4> visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Int flags:
@23:14..24 VALUE_PARAMETER name:<this> type:test.Test flags:
@23:22..24 BLOCK_BODY
@23:22..24 RETURN type=kotlin.Nothing from='<get-test4>(): Int'
@23:22..24 CONST Int type=kotlin.Int value=42
@26:4..27:18 PROPERTY name:test5 visibility:public modality:FINAL flags:val
@27:8..18 FUN name:<get-test5> visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Int flags:
@27:8..18 VALUE_PARAMETER name:<this> type:test.Test flags:
@27:16..18 BLOCK_BODY
@27:16..18 RETURN type=kotlin.Nothing from='<get-test5>(): Int'
@27:16..18 CONST Int type=kotlin.Int value=42
@30:4..34:18 PROPERTY name:test6 visibility:public modality:FINAL flags:val
@34:8..18 FUN name:<get-test6> visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Int flags:
@34:8..18 VALUE_PARAMETER name:<this> type:test.Test flags:
@34:16..18 BLOCK_BODY
@34:16..18 RETURN type=kotlin.Nothing from='<get-test6>(): Int'
@34:16..18 CONST Int type=kotlin.Int value=42
@37:4..41:18 PROPERTY name:test7 visibility:public modality:FINAL flags:val
@41:8..18 FUN name:<get-test7> visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Int flags:
@38:8..41:18 VALUE_PARAMETER name:<this> type:test.Test flags:
@41:16..18 BLOCK_BODY
@41:16..18 RETURN type=kotlin.Nothing from='<get-test7>(): Int'
@41:16..18 CONST Int type=kotlin.Int value=42
@44:4..18 PROPERTY name:test8 visibility:public modality:FINAL flags:var
@44:4..18 FIELD PROPERTY_BACKING_FIELD name:test8 type:kotlin.Int visibility:public flags:
@44:16..18 EXPRESSION_BODY
@44:16..18 CONST Int type=kotlin.Int value=42
@44:4..18 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test8> visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Int flags:
@44:4..18 VALUE_PARAMETER name:<this> type:test.Test flags:
@44:4..18 BLOCK_BODY
@44:4..18 RETURN type=kotlin.Nothing from='<get-test8>(): Int'
@44:4..18 GET_FIELD 'test8: Int' type=kotlin.Int origin=null
@44:4..18 GET_VAR 'this@Test: Test' type=test.Test origin=null
@44:4..18 FUN DEFAULT_PROPERTY_ACCESSOR name:<set-test8> visibility:public modality:FINAL <> ($this:test.Test, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:
@44:4..18 VALUE_PARAMETER name:<this> type:test.Test flags:
@44:4..18 VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
@44:4..18 BLOCK_BODY
@44:4..18 SET_FIELD 'test8: Int' type=kotlin.Unit origin=null
@44:4..18 GET_VAR 'this@Test: Test' type=test.Test origin=null
@44:4..18 GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
@47:4..31 PROPERTY name:test9 visibility:public modality:FINAL flags:var
@47:4..31 FIELD PROPERTY_BACKING_FIELD name:test9 type:kotlin.Int visibility:public flags:
@47:16..18 EXPRESSION_BODY
@47:16..18 CONST Int type=kotlin.Int value=42
@47:4..31 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test9> visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Int flags:
@47:4..31 VALUE_PARAMETER name:<this> type:test.Test flags:
@47:4..31 BLOCK_BODY
@47:4..31 RETURN type=kotlin.Nothing from='<get-test9>(): Int'
@47:4..31 GET_FIELD 'test9: Int' type=kotlin.Int origin=null
@47:4..31 GET_VAR 'this@Test: Test' type=test.Test origin=null
@47:28..31 FUN name:<set-test9> visibility:private modality:FINAL <> ($this:test.Test, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:
@47:20..31 VALUE_PARAMETER name:<this> type:test.Test flags:
@47:28..31 VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
@47:28..31 BLOCK_BODY
@47:28..31 SET_FIELD 'test9: Int' type=kotlin.Unit origin=null
@47:28..31 GET_VAR 'this@Test: Test' type=test.Test origin=null
@47:28..31 GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
@50:4..51:19 PROPERTY name:test10 visibility:public modality:FINAL flags:var
@50:4..51:19 FIELD PROPERTY_BACKING_FIELD name:test10 type:kotlin.Int visibility:public flags:
@50:17..19 EXPRESSION_BODY
@50:17..19 CONST Int type=kotlin.Int value=42
@50:4..51:19 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test10> visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Int flags:
@50:4..51:19 VALUE_PARAMETER name:<this> type:test.Test flags:
@50:4..51:19 BLOCK_BODY
@50:4..51:19 RETURN type=kotlin.Nothing from='<get-test10>(): Int'
@50:4..51:19 GET_FIELD 'test10: Int' type=kotlin.Int origin=null
@50:4..51:19 GET_VAR 'this@Test: Test' type=test.Test origin=null
@51:16..19 FUN name:<set-test10> visibility:private modality:FINAL <> ($this:test.Test, <set-?>:kotlin.Int) returnType:kotlin.Unit flags:
@51:8..19 VALUE_PARAMETER name:<this> type:test.Test flags:
@51:16..19 VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
@51:16..19 BLOCK_BODY
@51:16..19 SET_FIELD 'test10: Int' type=kotlin.Unit origin=null
@51:16..19 GET_VAR 'this@Test: Test' type=test.Test origin=null
@51:16..19 GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
@54:4..57:9 PROPERTY name:test11 visibility:public modality:FINAL flags:var
@54:4..57:9 FIELD PROPERTY_BACKING_FIELD name:test11 type:kotlin.Int visibility:public flags:
@54:17..19 EXPRESSION_BODY
@54:17..19 CONST Int type=kotlin.Int value=42
@54:4..57:9 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test11> visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Int flags:
@54:4..57:9 VALUE_PARAMETER name:<this> type:test.Test flags:
@54:4..57:9 BLOCK_BODY
@54:4..57:9 RETURN type=kotlin.Nothing from='<get-test11>(): Int'
@54:4..57:9 GET_FIELD 'test11: Int' type=kotlin.Int origin=null
@54:4..57:9 GET_VAR 'this@Test: Test' type=test.Test origin=null
@55:8..57:9 FUN name:<set-test11> visibility:public modality:FINAL <> ($this:test.Test, value:kotlin.Int) returnType:kotlin.Unit flags:
@55:8..57:9 VALUE_PARAMETER name:<this> type:test.Test flags:
@55:12..17 VALUE_PARAMETER name:value index:0 type:kotlin.Int flags:
@55:19..57:9 BLOCK_BODY
@56:12..17 SET_FIELD 'test11: Int' type=kotlin.Unit origin=EQ
@56:12..17 GET_VAR 'this@Test: Test' type=test.Test origin=null
@56:20..25 GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
@60:4..66:9 PROPERTY name:test12 visibility:public modality:FINAL flags:var
@60:4..66:9 FIELD PROPERTY_BACKING_FIELD name:test12 type:kotlin.Int visibility:public flags:
@60:17..19 EXPRESSION_BODY
@60:17..19 CONST Int type=kotlin.Int value=42
@60:4..66:9 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test12> visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Int flags:
@60:4..66:9 VALUE_PARAMETER name:<this> type:test.Test flags:
@60:4..66:9 BLOCK_BODY
@60:4..66:9 RETURN type=kotlin.Nothing from='<get-test12>(): Int'
@60:4..66:9 GET_FIELD 'test12: Int' type=kotlin.Int origin=null
@60:4..66:9 GET_VAR 'this@Test: Test' type=test.Test origin=null
@64:8..66:9 FUN name:<set-test12> visibility:public modality:FINAL <> ($this:test.Test, value:kotlin.Int) returnType:kotlin.Unit flags:
@64:8..66:9 VALUE_PARAMETER name:<this> type:test.Test flags:
@64:12..17 VALUE_PARAMETER name:value index:0 type:kotlin.Int flags:
@64:19..66:9 BLOCK_BODY
@65:12..17 SET_FIELD 'test12: Int' type=kotlin.Unit origin=EQ
@65:12..17 GET_VAR 'this@Test: Test' type=test.Test origin=null
@65:20..25 GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
@69:4..75:9 PROPERTY name:test13 visibility:public modality:FINAL flags:var
@69:4..75:9 FIELD PROPERTY_BACKING_FIELD name:test13 type:kotlin.Int visibility:public flags:
@69:17..19 EXPRESSION_BODY
@69:17..19 CONST Int type=kotlin.Int value=42
@69:4..75:9 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test13> visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Int flags:
@69:4..75:9 VALUE_PARAMETER name:<this> type:test.Test flags:
@69:4..75:9 BLOCK_BODY
@69:4..75:9 RETURN type=kotlin.Nothing from='<get-test13>(): Int'
@69:4..75:9 GET_FIELD 'test13: Int' type=kotlin.Int origin=null
@69:4..75:9 GET_VAR 'this@Test: Test' type=test.Test origin=null
@73:8..75:9 FUN name:<set-test13> visibility:public modality:FINAL <> ($this:test.Test, value:kotlin.Int) returnType:kotlin.Unit flags:
@70:8..75:9 VALUE_PARAMETER name:<this> type:test.Test flags:
@73:12..17 VALUE_PARAMETER name:value index:0 type:kotlin.Int flags:
@73:19..75:9 BLOCK_BODY
@74:12..17 SET_FIELD 'test13: Int' type=kotlin.Unit origin=EQ
@74:12..17 GET_VAR 'this@Test: Test' type=test.Test origin=null
@74:20..25 GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
@2:0..77:1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@2:0..77:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@2:0..77:1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@2:0..77:1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@2:0..77:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@2:0..77:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@2:0..77:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@@ -0,0 +1,23 @@
class Test1
internal
class Test2
/**
* comment
*/
class Test3
@Suppress("UNUSED_VAR")
class Test4
enum
class Test5
annotation
class Test6
@@ -0,0 +1,96 @@
@0:0..22:11 FILE fqName:<root> fileName:/classes.kt
@0:0..11 CLASS CLASS name:Test1 modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
@0:0..11 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Test1 flags:
@0:0..11 CONSTRUCTOR visibility:public <> () returnType:Test1 flags:primary
@0:0..11 BLOCK_BODY
@0:0..11 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@0:0..11 INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
@0:0..11 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@0:0..11 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@0:0..11 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@0:0..11 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@0:0..11 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@0:0..11 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@0:0..11 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@4:0..11 CLASS CLASS name:Test2 modality:FINAL visibility:internal flags: superTypes:[kotlin.Any]
@4:0..11 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Test2 flags:
@4:0..11 CONSTRUCTOR visibility:public <> () returnType:Test2 flags:primary
@3:0..4:11 BLOCK_BODY
@3:0..4:11 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@3:0..4:11 INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
@4:0..11 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@3:0..4:11 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@4:0..11 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@4:0..11 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@3:0..4:11 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@4:0..11 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@3:0..4:11 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@10:0..11 CLASS CLASS name:Test3 modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
@10:0..11 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Test3 flags:
@10:0..11 CONSTRUCTOR visibility:public <> () returnType:Test3 flags:primary
@10:0..11 BLOCK_BODY
@10:0..11 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@10:0..11 INSTANCE_INITIALIZER_CALL classDescriptor='Test3'
@10:0..11 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@10:0..11 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@10:0..11 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@10:0..11 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@10:0..11 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@10:0..11 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@10:0..11 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@14:0..11 CLASS CLASS name:Test4 modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
@14:0..11 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Test4 flags:
@14:0..11 CONSTRUCTOR visibility:public <> () returnType:Test4 flags:primary
@13:0..14:11 BLOCK_BODY
@13:0..14:11 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@13:0..14:11 INSTANCE_INITIALIZER_CALL classDescriptor='Test4'
@14:0..11 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@13:0..14:11 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@14:0..11 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@14:0..11 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@13:0..14:11 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@14:0..11 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@13:0..14:11 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@18:0..11 CLASS ENUM_CLASS name:Test5 modality:FINAL visibility:public flags: superTypes:[kotlin.Enum<Test5>]
@18:0..11 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Test5 flags:
@18:0..11 CONSTRUCTOR visibility:private <> () returnType:Test5 flags:primary
@17:0..18:11 BLOCK_BODY
@17:0..18:11 ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
@17:0..18:11 INSTANCE_INITIALIZER_CALL classDescriptor='Test5'
@18:0..11 FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum<Test5>) returnType:kotlin.Any flags:
@17:0..18:11 VALUE_PARAMETER name:<this> type:kotlin.Enum<Test5> flags:
@18:0..11 FUN FAKE_OVERRIDE name:finalize visibility:protected/*protected and package*/ modality:FINAL <> ($this:kotlin.Enum<Test5>) returnType:kotlin.Unit flags:
@17:0..18:11 VALUE_PARAMETER name:<this> type:kotlin.Enum<Test5> flags:
@18:0..11 FUN FAKE_OVERRIDE name:getDeclaringClass visibility:public modality:FINAL <> ($this:kotlin.Enum<Test5>) returnType:java.lang.Class<Test5!>? flags:
@17:0..18:11 VALUE_PARAMETER name:<this> type:kotlin.Enum<Test5> flags:
@18:0..11 FUN FAKE_OVERRIDE name:compareTo visibility:public modality:FINAL <> ($this:kotlin.Enum<Test5>, other:Test5) returnType:kotlin.Int flags:
@17:0..18:11 VALUE_PARAMETER name:<this> type:kotlin.Enum<Test5> flags:
@18:0..11 VALUE_PARAMETER name:other index:0 type:Test5 flags:
@18:0..11 FUN FAKE_OVERRIDE name:equals visibility:public modality:FINAL <> ($this:kotlin.Enum<Test5>, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@17:0..18:11 VALUE_PARAMETER name:<this> type:kotlin.Enum<Test5> flags:
@18:0..11 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@18:0..11 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:FINAL <> ($this:kotlin.Enum<Test5>) returnType:kotlin.Int flags:
@17:0..18:11 VALUE_PARAMETER name:<this> type:kotlin.Enum<Test5> flags:
@17:0..18:11 PROPERTY FAKE_OVERRIDE name:name visibility:public modality:FINAL flags:val
@18:0..11 FUN FAKE_OVERRIDE name:<get-name> visibility:public modality:FINAL <> ($this:kotlin.Enum<Test5>) returnType:kotlin.String flags:
@17:0..18:11 VALUE_PARAMETER name:<this> type:kotlin.Enum<Test5> flags:
@17:0..18:11 PROPERTY FAKE_OVERRIDE name:ordinal visibility:public modality:FINAL flags:val
@18:0..11 FUN FAKE_OVERRIDE name:<get-ordinal> visibility:public modality:FINAL <> ($this:kotlin.Enum<Test5>) returnType:kotlin.Int flags:
@17:0..18:11 VALUE_PARAMETER name:<this> type:kotlin.Enum<Test5> flags:
@18:0..11 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Enum<Test5>) returnType:kotlin.String flags:
@17:0..18:11 VALUE_PARAMETER name:<this> type:kotlin.Enum<Test5> flags:
@18:0..11 FUN ENUM_CLASS_SPECIAL_MEMBER name:values visibility:public modality:FINAL <> () returnType:kotlin.Array<Test5> flags:
@18:0..11 SYNTHETIC_BODY kind=ENUM_VALUES
@-1:-1..-1 FUN ENUM_CLASS_SPECIAL_MEMBER name:valueOf visibility:public modality:FINAL <> (value:kotlin.String) returnType:Test5 flags:
@-1:-1..-1 VALUE_PARAMETER name:value index:0 type:kotlin.String flags:
@18:0..11 SYNTHETIC_BODY kind=ENUM_VALUEOF
@22:0..11 CLASS ANNOTATION_CLASS name:Test6 modality:FINAL visibility:public flags: superTypes:[kotlin.Annotation]
@22:0..11 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Test6 flags:
@22:0..11 CONSTRUCTOR visibility:public <> () returnType:Test6 flags:primary
@22:0..11 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@21:0..22:11 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@22:0..11 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@22:0..11 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@21:0..22:11 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@22:0..11 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@21:0..22:11 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@@ -0,0 +1 @@
class Test
@@ -0,0 +1,14 @@
@0:0..10 FILE fqName:<root> fileName:/fakeOverrides.kt
@0:0..10 CLASS CLASS name:Test modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
@0:0..10 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Test flags:
@0:0..10 CONSTRUCTOR visibility:public <> () returnType:Test flags:primary
@0:0..10 BLOCK_BODY
@0:0..10 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@0:0..10 INSTANCE_INITIALIZER_CALL classDescriptor='Test'
@0:0..10 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@0:0..10 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@0:0..10 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@0:0..10 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@0:0..10 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@0:0..10 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@0:0..10 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@@ -0,0 +1,14 @@
class Test1(val x: Int)
class Test2
internal constructor(val x: Int)
class Test3
/**
* comment
*/
constructor(val x: Int)
class Test4
@Suppress("UNUSED_VARIABLE")
constructor(val x: Int)
@@ -0,0 +1,97 @@
@0:0..13:23 FILE fqName:<root> fileName:/primaryConstructors.kt
@0:0..23 CLASS CLASS name:Test1 modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
@0:0..23 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Test1 flags:
@0:0..23 CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:Test1 flags:primary
@0:12..22 VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
@0:0..23 BLOCK_BODY
@0:0..23 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@0:0..23 INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
@0:12..22 PROPERTY name:x visibility:public modality:FINAL flags:val
@0:12..22 FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public flags:final
@0:12..22 EXPRESSION_BODY
@0:12..22 GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
@0:12..22 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:Test1) returnType:kotlin.Int flags:
@0:12..22 VALUE_PARAMETER name:<this> type:Test1 flags:
@0:12..22 BLOCK_BODY
@0:12..22 RETURN type=kotlin.Nothing from='<get-x>(): Int'
@0:12..22 GET_FIELD 'x: Int' type=kotlin.Int origin=null
@0:12..22 GET_VAR 'this@Test1: Test1' type=Test1 origin=null
@0:0..23 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@0:0..23 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@0:0..23 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@0:0..23 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@0:0..23 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@0:0..23 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@0:0..23 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@2:0..3:32 CLASS CLASS name:Test2 modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
@2:0..3:32 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Test2 flags:
@3:9..32 CONSTRUCTOR visibility:internal <> (x:kotlin.Int) returnType:Test2 flags:primary
@3:21..31 VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
@2:0..3:32 BLOCK_BODY
@2:0..3:32 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@2:0..3:32 INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
@3:21..31 PROPERTY name:x visibility:public modality:FINAL flags:val
@3:21..31 FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public flags:final
@3:21..31 EXPRESSION_BODY
@3:21..31 GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
@3:21..31 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:Test2) returnType:kotlin.Int flags:
@3:21..31 VALUE_PARAMETER name:<this> type:Test2 flags:
@3:21..31 BLOCK_BODY
@3:21..31 RETURN type=kotlin.Nothing from='<get-x>(): Int'
@3:21..31 GET_FIELD 'x: Int' type=kotlin.Int origin=null
@3:21..31 GET_VAR 'this@Test2: Test2' type=Test2 origin=null
@2:0..3:32 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@2:0..3:32 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@2:0..3:32 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@2:0..3:32 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@2:0..3:32 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@2:0..3:32 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@2:0..3:32 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@5:0..9:23 CLASS CLASS name:Test3 modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
@5:0..9:23 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Test3 flags:
@9:0..23 CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:Test3 flags:primary
@9:12..22 VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
@5:0..9:23 BLOCK_BODY
@5:0..9:23 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@5:0..9:23 INSTANCE_INITIALIZER_CALL classDescriptor='Test3'
@9:12..22 PROPERTY name:x visibility:public modality:FINAL flags:val
@9:12..22 FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public flags:final
@9:12..22 EXPRESSION_BODY
@9:12..22 GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
@9:12..22 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:Test3) returnType:kotlin.Int flags:
@9:12..22 VALUE_PARAMETER name:<this> type:Test3 flags:
@9:12..22 BLOCK_BODY
@9:12..22 RETURN type=kotlin.Nothing from='<get-x>(): Int'
@9:12..22 GET_FIELD 'x: Int' type=kotlin.Int origin=null
@9:12..22 GET_VAR 'this@Test3: Test3' type=Test3 origin=null
@5:0..9:23 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@5:0..9:23 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@5:0..9:23 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@5:0..9:23 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@5:0..9:23 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@5:0..9:23 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@5:0..9:23 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@11:0..13:23 CLASS CLASS name:Test4 modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
@11:0..13:23 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Test4 flags:
@13:0..23 CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:Test4 flags:primary
@13:12..22 VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
@11:0..13:23 BLOCK_BODY
@11:0..13:23 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@11:0..13:23 INSTANCE_INITIALIZER_CALL classDescriptor='Test4'
@13:12..22 PROPERTY name:x visibility:public modality:FINAL flags:val
@13:12..22 FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public flags:final
@13:12..22 EXPRESSION_BODY
@13:12..22 GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
@13:12..22 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:Test4) returnType:kotlin.Int flags:
@13:12..22 VALUE_PARAMETER name:<this> type:Test4 flags:
@13:12..22 BLOCK_BODY
@13:12..22 RETURN type=kotlin.Nothing from='<get-x>(): Int'
@13:12..22 GET_FIELD 'x: Int' type=kotlin.Int origin=null
@13:12..22 GET_VAR 'this@Test4: Test4' type=Test4 origin=null
@11:0..13:23 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@11:0..13:23 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@11:0..13:23 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@11:0..13:23 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@11:0..13:23 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@11:0..13:23 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@11:0..13:23 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@@ -0,0 +1,14 @@
class C {
constructor() : super()
private
constructor(x: Int): super()
/**
* comment
*/
constructor(x: String) : super()
@Suppress("UNUSED_VARIABLE")
constructor(x: Any): super()
}
@@ -0,0 +1,29 @@
@0:0..13:1 FILE fqName:<root> fileName:/secondaryConstructors.kt
@0:0..13:1 CLASS CLASS name:C modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
@0:0..13:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:C flags:
@1:4..27 CONSTRUCTOR visibility:public <> () returnType:C flags:
@1:4..27 BLOCK_BODY
@1:20..27 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@1:4..27 INSTANCE_INITIALIZER_CALL classDescriptor='C'
@4:4..32 CONSTRUCTOR visibility:private <> (x:kotlin.Int) returnType:C flags:
@4:16..22 VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
@3:4..4:32 BLOCK_BODY
@4:25..32 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@3:4..4:32 INSTANCE_INITIALIZER_CALL classDescriptor='C'
@9:4..36 CONSTRUCTOR visibility:public <> (x:kotlin.String) returnType:C flags:
@9:16..25 VALUE_PARAMETER name:x index:0 type:kotlin.String flags:
@9:4..36 BLOCK_BODY
@9:29..36 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@9:4..36 INSTANCE_INITIALIZER_CALL classDescriptor='C'
@12:4..32 CONSTRUCTOR visibility:public <> (x:kotlin.Any) returnType:C flags:
@12:16..22 VALUE_PARAMETER name:x index:0 type:kotlin.Any flags:
@11:4..12:32 BLOCK_BODY
@12:25..32 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@11:4..12:32 INSTANCE_INITIALIZER_CALL classDescriptor='C'
@0:0..13:1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@0:0..13:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@0:0..13:1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@0:0..13:1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@0:0..13:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@0:0..13:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@0:0..13:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@@ -1,7 +1,7 @@
@0:0..4:1 FILE fqName:<root> fileName:/synthesizedDataClassMembers.kt
@0:0..4:1 CLASS CLASS name:C modality:FINAL visibility:public flags:data superTypes:[kotlin.Any]
@0:0..4:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:C flags:
@0:0..4:1 CONSTRUCTOR visibility:public <> (x:kotlin.Int, y:kotlin.String, z:kotlin.Any) returnType:C flags:primary
@0:5..4:1 CLASS CLASS name:C modality:FINAL visibility:public flags:data superTypes:[kotlin.Any]
@0:5..4:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:C flags:
@0:5..4:1 CONSTRUCTOR visibility:public <> (x:kotlin.Int, y:kotlin.String, z:kotlin.Any) returnType:C flags:primary
@1:8..18 VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
@2:8..21 VALUE_PARAMETER name:y index:1 type:kotlin.String flags:
@3:8..18 VALUE_PARAMETER name:z index:2 type:kotlin.Any flags:
@@ -13,7 +13,7 @@
@1:8..18 EXPRESSION_BODY
@1:8..18 GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
@1:8..18 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:C) returnType:kotlin.Int flags:
@-1:-1..-1 VALUE_PARAMETER name:<this> type:C flags:
@1:8..18 VALUE_PARAMETER name:<this> type:C flags:
@1:8..18 BLOCK_BODY
@1:8..18 RETURN type=kotlin.Nothing from='<get-x>(): Int'
@1:8..18 GET_FIELD 'x: Int' type=kotlin.Int origin=null
@@ -23,7 +23,7 @@
@2:8..21 EXPRESSION_BODY
@2:8..21 GET_VAR 'value-parameter y: String' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
@2:8..21 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-y> visibility:public modality:FINAL <> ($this:C) returnType:kotlin.String flags:
@-1:-1..-1 VALUE_PARAMETER name:<this> type:C flags:
@2:8..21 VALUE_PARAMETER name:<this> type:C flags:
@2:8..21 BLOCK_BODY
@2:8..21 RETURN type=kotlin.Nothing from='<get-y>(): String'
@2:8..21 GET_FIELD 'y: String' type=kotlin.String origin=null
@@ -33,31 +33,31 @@
@3:8..18 EXPRESSION_BODY
@3:8..18 GET_VAR 'value-parameter z: Any' type=kotlin.Any origin=INITIALIZE_PROPERTY_FROM_PARAMETER
@3:8..18 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-z> visibility:public modality:FINAL <> ($this:C) returnType:kotlin.Any flags:
@-1:-1..-1 VALUE_PARAMETER name:<this> type:C flags:
@3:8..18 VALUE_PARAMETER name:<this> type:C flags:
@3:8..18 BLOCK_BODY
@3:8..18 RETURN type=kotlin.Nothing from='<get-z>(): Any'
@3:8..18 GET_FIELD 'z: Any' type=kotlin.Any origin=null
@3:8..18 GET_VAR 'this@C: C' type=C origin=null
@1:8..18 FUN GENERATED_DATA_CLASS_MEMBER name:component1 visibility:public modality:FINAL <> ($this:C) returnType:kotlin.Int flags:
@-1:-1..-1 VALUE_PARAMETER name:<this> type:C flags:
@1:8..18 VALUE_PARAMETER name:<this> type:C flags:
@1:8..18 BLOCK_BODY
@1:8..18 RETURN type=kotlin.Nothing from='component1(): Int'
@1:8..18 CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
@1:8..18 GET_VAR 'this@C: C' type=C origin=null
@2:8..21 FUN GENERATED_DATA_CLASS_MEMBER name:component2 visibility:public modality:FINAL <> ($this:C) returnType:kotlin.String flags:
@-1:-1..-1 VALUE_PARAMETER name:<this> type:C flags:
@2:8..21 VALUE_PARAMETER name:<this> type:C flags:
@2:8..21 BLOCK_BODY
@2:8..21 RETURN type=kotlin.Nothing from='component2(): String'
@2:8..21 CALL '<get-y>(): String' type=kotlin.String origin=GET_PROPERTY
@2:8..21 GET_VAR 'this@C: C' type=C origin=null
@3:8..18 FUN GENERATED_DATA_CLASS_MEMBER name:component3 visibility:public modality:FINAL <> ($this:C) returnType:kotlin.Any flags:
@-1:-1..-1 VALUE_PARAMETER name:<this> type:C flags:
@3:8..18 VALUE_PARAMETER name:<this> type:C flags:
@3:8..18 BLOCK_BODY
@3:8..18 RETURN type=kotlin.Nothing from='component3(): Any'
@3:8..18 CALL '<get-z>(): Any' type=kotlin.Any origin=GET_PROPERTY
@3:8..18 GET_VAR 'this@C: C' type=C origin=null
@0:0..4:1 FUN GENERATED_DATA_CLASS_MEMBER name:copy visibility:public modality:FINAL <> ($this:C, x:kotlin.Int, y:kotlin.String, z:kotlin.Any) returnType:C flags:
@-1:-1..-1 VALUE_PARAMETER name:<this> type:C flags:
@0:0..4:1 VALUE_PARAMETER name:<this> type:C flags:
@1:8..18 VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
@0:0..4:1 EXPRESSION_BODY
@0:0..4:1 CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
@@ -77,7 +77,7 @@
@0:0..4:1 GET_VAR 'value-parameter y: String = ...' type=kotlin.String origin=null
@0:0..4:1 GET_VAR 'value-parameter z: Any = ...' type=kotlin.Any origin=null
@0:0..4:1 FUN GENERATED_DATA_CLASS_MEMBER name:toString visibility:public modality:OPEN <> ($this:C) returnType:kotlin.String flags:
@-1:-1..-1 VALUE_PARAMETER name:<this> type:C flags:
@0:0..4:1 VALUE_PARAMETER name:<this> type:C flags:
@0:0..4:1 BLOCK_BODY
@0:0..4:1 RETURN type=kotlin.Nothing from='toString(): String'
@0:0..4:1 STRING_CONCATENATION type=kotlin.String
@@ -95,7 +95,7 @@
@0:0..4:1 GET_VAR 'this@C: C' type=C origin=null
@0:0..4:1 CONST String type=kotlin.String value=")"
@0:0..4:1 FUN GENERATED_DATA_CLASS_MEMBER name:hashCode visibility:public modality:OPEN <> ($this:C) returnType:kotlin.Int flags:
@-1:-1..-1 VALUE_PARAMETER name:<this> type:C flags:
@0:0..4:1 VALUE_PARAMETER name:<this> type:C flags:
@0:0..4:1 BLOCK_BODY
@0:0..4:1 VAR IR_TEMPORARY_VARIABLE name:tmp0_result type:kotlin.Int flags:var
@0:0..4:1 CONST Int type=kotlin.Int value=0
@@ -122,8 +122,8 @@
@0:0..4:1 RETURN type=kotlin.Nothing from='hashCode(): Int'
@0:0..4:1 GET_VAR 'tmp0_result: Int' type=kotlin.Int origin=null
@0:0..4:1 FUN GENERATED_DATA_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:C, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@-1:-1..-1 VALUE_PARAMETER name:<this> type:C flags:
@-1:-1..-1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@0:0..4:1 VALUE_PARAMETER name:<this> type:C flags:
@0:0..4:1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@0:0..4:1 BLOCK_BODY
@0:0..4:1 WHEN type=kotlin.Unit origin=null
@0:0..4:1 BRANCH
@@ -0,0 +1,20 @@
package test
fun test0() {}
/**
* block comment
*/
fun test1() {}
@Suppress(
"UNUSED_VARIABLE"
)
fun test2() {}
private
fun test3() {}
@@ -0,0 +1,9 @@
@0:0..19:14 FILE fqName:test fileName:/topLevelFuns.kt
@3:0..14 FUN name:test0 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
@3:12..14 BLOCK_BODY
@9:0..14 FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
@9:12..14 BLOCK_BODY
@15:0..14 FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
@15:12..14 BLOCK_BODY
@19:0..14 FUN name:test3 visibility:private modality:FINAL <> () returnType:kotlin.Unit flags:
@19:12..14 BLOCK_BODY
@@ -0,0 +1,69 @@
package test
val test0 = 42
/**
* comment
*/
val test1 = 42
@Suppress(
"UNUSED_VARIABLE"
)
val test2 = 42
private
val test3 = 42
val test4 get() = 42
val test5
get() = 42
val test6
/**
* comment
*/
get() = 42
val test7
@Suppress(
"UNUSED_VARIABLE"
)
get() = 42
var test8 = 42
var test9 = 42; private set
var test10 = 42
private set
var test11 = 42
set(value) { field = value }
var test12 = 42
/**
* comment
*/
set(value) { field = value }
var test13 = 42
@Suppress(
"UNUSED_VARIABLE"
)
set(value) { field = value }
@@ -0,0 +1,131 @@
@0:0..68:32 FILE fqName:test fileName:/topLevelProperties.kt
@3:0..14 PROPERTY name:test0 visibility:public modality:FINAL flags:val
@3:0..14 FIELD PROPERTY_BACKING_FIELD name:test0 type:kotlin.Int visibility:public flags:final,static
@3:12..14 EXPRESSION_BODY
@3:12..14 CONST Int type=kotlin.Int value=42
@3:0..14 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test0> visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
@3:0..14 BLOCK_BODY
@3:0..14 RETURN type=kotlin.Nothing from='<get-test0>(): Int'
@3:0..14 GET_FIELD 'test0: Int' type=kotlin.Int origin=null
@9:0..14 PROPERTY name:test1 visibility:public modality:FINAL flags:val
@9:0..14 FIELD PROPERTY_BACKING_FIELD name:test1 type:kotlin.Int visibility:public flags:final,static
@9:12..14 EXPRESSION_BODY
@9:12..14 CONST Int type=kotlin.Int value=42
@9:0..14 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
@9:0..14 BLOCK_BODY
@9:0..14 RETURN type=kotlin.Nothing from='<get-test1>(): Int'
@9:0..14 GET_FIELD 'test1: Int' type=kotlin.Int origin=null
@12:0..15:14 PROPERTY name:test2 visibility:public modality:FINAL flags:val
@12:0..15:14 FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.Int visibility:public flags:final,static
@15:12..14 EXPRESSION_BODY
@15:12..14 CONST Int type=kotlin.Int value=42
@15:0..14 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
@15:0..14 BLOCK_BODY
@15:0..14 RETURN type=kotlin.Nothing from='<get-test2>(): Int'
@15:0..14 GET_FIELD 'test2: Int' type=kotlin.Int origin=null
@18:0..19:14 PROPERTY name:test3 visibility:private modality:FINAL flags:val
@18:0..19:14 FIELD PROPERTY_BACKING_FIELD name:test3 type:kotlin.Int visibility:private flags:final,static
@19:12..14 EXPRESSION_BODY
@19:12..14 CONST Int type=kotlin.Int value=42
@19:0..14 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test3> visibility:private modality:FINAL <> () returnType:kotlin.Int flags:
@19:0..14 BLOCK_BODY
@19:0..14 RETURN type=kotlin.Nothing from='<get-test3>(): Int'
@19:0..14 GET_FIELD 'test3: Int' type=kotlin.Int origin=null
@22:0..20 PROPERTY name:test4 visibility:public modality:FINAL flags:val
@22:10..20 FUN name:<get-test4> visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
@22:18..20 BLOCK_BODY
@22:18..20 RETURN type=kotlin.Nothing from='<get-test4>(): Int'
@22:18..20 CONST Int type=kotlin.Int value=42
@25:0..26:14 PROPERTY name:test5 visibility:public modality:FINAL flags:val
@26:4..14 FUN name:<get-test5> visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
@26:12..14 BLOCK_BODY
@26:12..14 RETURN type=kotlin.Nothing from='<get-test5>(): Int'
@26:12..14 CONST Int type=kotlin.Int value=42
@29:0..33:14 PROPERTY name:test6 visibility:public modality:FINAL flags:val
@33:4..14 FUN name:<get-test6> visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
@33:12..14 BLOCK_BODY
@33:12..14 RETURN type=kotlin.Nothing from='<get-test6>(): Int'
@33:12..14 CONST Int type=kotlin.Int value=42
@36:0..40:14 PROPERTY name:test7 visibility:public modality:FINAL flags:val
@40:4..14 FUN name:<get-test7> visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
@40:12..14 BLOCK_BODY
@40:12..14 RETURN type=kotlin.Nothing from='<get-test7>(): Int'
@40:12..14 CONST Int type=kotlin.Int value=42
@43:0..14 PROPERTY name:test8 visibility:public modality:FINAL flags:var
@43:0..14 FIELD PROPERTY_BACKING_FIELD name:test8 type:kotlin.Int visibility:public flags:static
@43:12..14 EXPRESSION_BODY
@43:12..14 CONST Int type=kotlin.Int value=42
@43:0..14 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test8> visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
@43:0..14 BLOCK_BODY
@43:0..14 RETURN type=kotlin.Nothing from='<get-test8>(): Int'
@43:0..14 GET_FIELD 'test8: Int' type=kotlin.Int origin=null
@43:0..14 FUN DEFAULT_PROPERTY_ACCESSOR name:<set-test8> visibility:public modality:FINAL <> (<set-?>:kotlin.Int) returnType:kotlin.Unit flags:
@43:0..14 VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
@43:0..14 BLOCK_BODY
@43:0..14 SET_FIELD 'test8: Int' type=kotlin.Unit origin=null
@43:0..14 GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
@46:0..27 PROPERTY name:test9 visibility:public modality:FINAL flags:var
@46:0..27 FIELD PROPERTY_BACKING_FIELD name:test9 type:kotlin.Int visibility:public flags:static
@46:12..14 EXPRESSION_BODY
@46:12..14 CONST Int type=kotlin.Int value=42
@46:0..27 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test9> visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
@46:0..27 BLOCK_BODY
@46:0..27 RETURN type=kotlin.Nothing from='<get-test9>(): Int'
@46:0..27 GET_FIELD 'test9: Int' type=kotlin.Int origin=null
@46:24..27 FUN name:<set-test9> visibility:private modality:FINAL <> (<set-?>:kotlin.Int) returnType:kotlin.Unit flags:
@46:24..27 VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
@46:24..27 BLOCK_BODY
@46:24..27 SET_FIELD 'test9: Int' type=kotlin.Unit origin=null
@46:24..27 GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
@49:0..50:15 PROPERTY name:test10 visibility:public modality:FINAL flags:var
@49:0..50:15 FIELD PROPERTY_BACKING_FIELD name:test10 type:kotlin.Int visibility:public flags:static
@49:13..15 EXPRESSION_BODY
@49:13..15 CONST Int type=kotlin.Int value=42
@49:0..50:15 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test10> visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
@49:0..50:15 BLOCK_BODY
@49:0..50:15 RETURN type=kotlin.Nothing from='<get-test10>(): Int'
@49:0..50:15 GET_FIELD 'test10: Int' type=kotlin.Int origin=null
@50:12..15 FUN name:<set-test10> visibility:private modality:FINAL <> (<set-?>:kotlin.Int) returnType:kotlin.Unit flags:
@50:12..15 VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
@50:12..15 BLOCK_BODY
@50:12..15 SET_FIELD 'test10: Int' type=kotlin.Unit origin=null
@50:12..15 GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
@53:0..54:32 PROPERTY name:test11 visibility:public modality:FINAL flags:var
@53:0..54:32 FIELD PROPERTY_BACKING_FIELD name:test11 type:kotlin.Int visibility:public flags:static
@53:13..15 EXPRESSION_BODY
@53:13..15 CONST Int type=kotlin.Int value=42
@53:0..54:32 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test11> visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
@53:0..54:32 BLOCK_BODY
@53:0..54:32 RETURN type=kotlin.Nothing from='<get-test11>(): Int'
@53:0..54:32 GET_FIELD 'test11: Int' type=kotlin.Int origin=null
@54:4..32 FUN name:<set-test11> visibility:public modality:FINAL <> (value:kotlin.Int) returnType:kotlin.Unit flags:
@54:8..13 VALUE_PARAMETER name:value index:0 type:kotlin.Int flags:
@54:15..32 BLOCK_BODY
@54:17..22 SET_FIELD 'test11: Int' type=kotlin.Unit origin=EQ
@54:25..30 GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
@57:0..61:32 PROPERTY name:test12 visibility:public modality:FINAL flags:var
@57:0..61:32 FIELD PROPERTY_BACKING_FIELD name:test12 type:kotlin.Int visibility:public flags:static
@57:13..15 EXPRESSION_BODY
@57:13..15 CONST Int type=kotlin.Int value=42
@57:0..61:32 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test12> visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
@57:0..61:32 BLOCK_BODY
@57:0..61:32 RETURN type=kotlin.Nothing from='<get-test12>(): Int'
@57:0..61:32 GET_FIELD 'test12: Int' type=kotlin.Int origin=null
@61:4..32 FUN name:<set-test12> visibility:public modality:FINAL <> (value:kotlin.Int) returnType:kotlin.Unit flags:
@61:8..13 VALUE_PARAMETER name:value index:0 type:kotlin.Int flags:
@61:15..32 BLOCK_BODY
@61:17..22 SET_FIELD 'test12: Int' type=kotlin.Unit origin=EQ
@61:25..30 GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
@64:0..68:32 PROPERTY name:test13 visibility:public modality:FINAL flags:var
@64:0..68:32 FIELD PROPERTY_BACKING_FIELD name:test13 type:kotlin.Int visibility:public flags:static
@64:13..15 EXPRESSION_BODY
@64:13..15 CONST Int type=kotlin.Int value=42
@64:0..68:32 FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test13> visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
@64:0..68:32 BLOCK_BODY
@64:0..68:32 RETURN type=kotlin.Nothing from='<get-test13>(): Int'
@64:0..68:32 GET_FIELD 'test13: Int' type=kotlin.Int origin=null
@68:4..32 FUN name:<set-test13> visibility:public modality:FINAL <> (value:kotlin.Int) returnType:kotlin.Unit flags:
@68:8..13 VALUE_PARAMETER name:value index:0 type:kotlin.Int flags:
@68:15..32 BLOCK_BODY
@68:17..22 SET_FIELD 'test13: Int' type=kotlin.Unit origin=EQ
@68:25..30 GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
+10 -10
View File
@@ -1,24 +1,24 @@
@0:0..26:1 FILE fqName:<root> fileName:/kt17108.kt
@4:0..26:1 CLASS INTERFACE name:Boolean modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any]
@4:0..26:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Boolean flags:
@8:4..38 FUN name:not visibility:public modality:ABSTRACT <> ($this:Boolean) returnType:Boolean flags:
@4:7..26:1 CLASS INTERFACE name:Boolean modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any]
@4:7..26:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Boolean flags:
@8:20..38 FUN name:not visibility:public modality:ABSTRACT <> ($this:Boolean) returnType:Boolean flags:
@8:4..38 VALUE_PARAMETER name:<this> type:Boolean flags:
@13:4..42 FUN name:and visibility:public modality:ABSTRACT <> ($this:Boolean, other:Boolean) returnType:Boolean flags:
@13:10..42 FUN name:and visibility:public modality:ABSTRACT <> ($this:Boolean, other:Boolean) returnType:Boolean flags:
@13:4..42 VALUE_PARAMETER name:<this> type:Boolean flags:
@13:18..32 VALUE_PARAMETER name:other index:0 type:Boolean flags:
@18:4..41 FUN name:or visibility:public modality:ABSTRACT <> ($this:Boolean, other:Boolean) returnType:Boolean flags:
@18:10..41 FUN name:or visibility:public modality:ABSTRACT <> ($this:Boolean, other:Boolean) returnType:Boolean flags:
@18:4..41 VALUE_PARAMETER name:<this> type:Boolean flags:
@18:17..31 VALUE_PARAMETER name:other index:0 type:Boolean flags:
@23:4..42 FUN name:xor visibility:public modality:ABSTRACT <> ($this:Boolean, other:Boolean) returnType:Boolean flags:
@23:10..42 FUN name:xor visibility:public modality:ABSTRACT <> ($this:Boolean, other:Boolean) returnType:Boolean flags:
@23:4..42 VALUE_PARAMETER name:<this> type:Boolean flags:
@23:18..32 VALUE_PARAMETER name:other index:0 type:Boolean flags:
@25:4..38 FUN name:compareTo visibility:public modality:ABSTRACT <> ($this:Boolean, other:Boolean) returnType:kotlin.Int flags:
@25:4..38 VALUE_PARAMETER name:<this> type:Boolean flags:
@25:18..32 VALUE_PARAMETER name:other index:0 type:Boolean flags:
@4:0..26:1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@4:7..26:1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
@4:0..26:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@-1:-1..-1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@4:0..26:1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@4:7..26:1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
@4:7..26:1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
@4:0..26:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@4:0..26:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@4:7..26:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
@4:0..26:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags: