[Test] KT-61360: add tests for the IrFakeOverrideBuilder
Add tests for fake overrides with focus on java interoperability Co-authored-by: Aleksandra Arsenteva <aleksandra.arsenteva@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
30aae741a6
commit
82255d5ee8
Vendored
+393
@@ -0,0 +1,393 @@
|
||||
FILE fqName:<root> fileName:/1.kt
|
||||
CLASS CLASS name:A modality:FINAL visibility:public superTypes:[<root>.Java1]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.A [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java1'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:A modality:FINAL visibility:public superTypes:[<root>.Java1]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:OPEN <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:foo3 visibility:public modality:OPEN <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:B modality:ABSTRACT visibility:public superTypes:[<root>.Java2]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.B
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.B [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:B modality:ABSTRACT visibility:public superTypes:[<root>.Java2]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:ABSTRACT <> ($this:<root>.Java2) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:C modality:FINAL visibility:public superTypes:[<root>.Java1]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.C
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.C [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java1'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:C modality:FINAL visibility:public superTypes:[<root>.Java1]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
FUN name:foo3 visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:D modality:FINAL visibility:public superTypes:[<root>.Java2]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.D
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.D [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:D modality:FINAL visibility:public superTypes:[<root>.Java2]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo visibility:public modality:OPEN <> ($this:<root>.D) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.D
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:E modality:FINAL visibility:public superTypes:[<root>.Java3]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.E
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.E [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java3'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:E modality:FINAL visibility:public superTypes:[<root>.Java3]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:OPEN <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:foo3 visibility:public modality:OPEN <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:F modality:ABSTRACT visibility:public superTypes:[<root>.Java4]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.F
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.F [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:F modality:ABSTRACT visibility:public superTypes:[<root>.Java4]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java4
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:ABSTRACT <> ($this:<root>.Java2) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java4
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java4
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java4
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:G modality:FINAL visibility:public superTypes:[<root>.Java3]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.G
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.G [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java3'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:G modality:FINAL visibility:public superTypes:[<root>.Java3]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.G) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.G
|
||||
BLOCK_BODY
|
||||
FUN name:foo3 visibility:public modality:OPEN <> ($this:<root>.G) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.G
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:H modality:FINAL visibility:public superTypes:[<root>.Java4]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.H
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.H [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:H modality:FINAL visibility:public superTypes:[<root>.Java4]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java4
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java4
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java4
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo visibility:public modality:OPEN <> ($this:<root>.H) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java4
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.H
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:I modality:FINAL visibility:public superTypes:[<root>.Java5]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.I
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.I [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java5'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:I modality:FINAL visibility:public superTypes:[<root>.Java5]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java5
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.Java5
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:OPEN <> ($this:<root>.Java5) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.Java5
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java5
|
||||
FUN FAKE_OVERRIDE name:foo3 visibility:public modality:OPEN <> ($this:<root>.Java5) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.Java5
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java5
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java5
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java5
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:J modality:FINAL visibility:public superTypes:[<root>.Java5]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.J
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.J [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java5'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:J modality:FINAL visibility:public superTypes:[<root>.Java5]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java5
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.Java5
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java5
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java5
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.J) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.Java5
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.J
|
||||
BLOCK_BODY
|
||||
FUN name:foo3 visibility:public modality:OPEN <> ($this:<root>.J) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.Java5
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.J
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:KotlinClass modality:OPEN visibility:public superTypes:[<root>.Java1]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.KotlinClass
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.KotlinClass [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java1'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:KotlinClass modality:OPEN visibility:public superTypes:[<root>.Java1]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:OPEN <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:foo3 visibility:public modality:OPEN <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS INTERFACE name:KotlinInterface modality:ABSTRACT visibility:public superTypes:[<root>.Java2]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.KotlinInterface
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:ABSTRACT <> ($this:<root>.Java2) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:test visibility:public modality:FINAL <> (a:<root>.A, b:<root>.B, c:<root>.C, d:<root>.D, e:<root>.E, f:<root>.F, g:<root>.G, h:<root>.H, i:<root>.I, j:<root>.J) returnType:kotlin.Unit
|
||||
VALUE_PARAMETER name:a index:0 type:<root>.A
|
||||
VALUE_PARAMETER name:b index:1 type:<root>.B
|
||||
VALUE_PARAMETER name:c index:2 type:<root>.C
|
||||
VALUE_PARAMETER name:d index:3 type:<root>.D
|
||||
VALUE_PARAMETER name:e index:4 type:<root>.E
|
||||
VALUE_PARAMETER name:f index:5 type:<root>.F
|
||||
VALUE_PARAMETER name:g index:6 type:<root>.G
|
||||
VALUE_PARAMETER name:h index:7 type:<root>.H
|
||||
VALUE_PARAMETER name:i index:8 type:<root>.I
|
||||
VALUE_PARAMETER name:j index:9 type:<root>.J
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.A' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'a: <root>.A declared in <root>.test' type=<root>.A origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.A' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'a: <root>.A declared in <root>.test' type=<root>.A origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.A' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'a: <root>.A declared in <root>.test' type=<root>.A origin=null
|
||||
CALL 'public abstract fun foo (): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public open fun foo (): kotlin.Unit declared in <root>.D' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'd: <root>.D declared in <root>.test' type=<root>.D origin=null
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.E' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'e: <root>.E declared in <root>.test' type=<root>.E origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.E' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'e: <root>.E declared in <root>.test' type=<root>.E origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.E' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'e: <root>.E declared in <root>.test' type=<root>.E origin=null
|
||||
CALL 'public abstract fun foo (): kotlin.Unit declared in <root>.F' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'f: <root>.F declared in <root>.test' type=<root>.F origin=null
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.G' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'g: <root>.G declared in <root>.test' type=<root>.G origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.G' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'g: <root>.G declared in <root>.test' type=<root>.G origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.G' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'g: <root>.G declared in <root>.test' type=<root>.G origin=null
|
||||
CALL 'public open fun foo (): kotlin.Unit declared in <root>.H' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'h: <root>.H declared in <root>.test' type=<root>.H origin=null
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.I' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'i: <root>.I declared in <root>.test' type=<root>.I origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.I' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'i: <root>.I declared in <root>.test' type=<root>.I origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.I' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'i: <root>.I declared in <root>.test' type=<root>.I origin=null
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.J' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'j: <root>.J declared in <root>.test' type=<root>.J origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.J' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'j: <root>.J declared in <root>.test' type=<root>.J origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.J' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'j: <root>.J declared in <root>.test' type=<root>.J origin=null
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
// FIR_IDENTICAL
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// FILE: Java1.java
|
||||
public class Java1 {
|
||||
public final void foo(){};
|
||||
public native void foo2();
|
||||
public synchronized void foo3(){};
|
||||
}
|
||||
|
||||
// FILE: Java2.java
|
||||
public interface Java2 {
|
||||
public abstract void foo();
|
||||
}
|
||||
|
||||
// FILE: Java3.java
|
||||
public class Java3 extends KotlinClass { }
|
||||
|
||||
// FILE: Java4.java
|
||||
public interface Java4 extends KotlinInterface { }
|
||||
|
||||
// FILE: Java5.java
|
||||
public class Java5 extends KotlinClass {
|
||||
public native void foo2();
|
||||
public synchronized void foo3(){};
|
||||
}
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
class A : Java1() //Kotlin ← Java with final, native, synchronized
|
||||
|
||||
abstract class B : Java2 //Kotlin ← Java with abstract
|
||||
|
||||
class C : Java1() {
|
||||
override fun foo2() { }
|
||||
override fun foo3() { }
|
||||
}
|
||||
|
||||
class D: Java2 {
|
||||
override fun foo() { }
|
||||
}
|
||||
|
||||
class E : Java3() //Kotlin ← Java ← Kotlin ← Java with final, native, synchronized
|
||||
|
||||
abstract class F : Java4 //Kotlin ← Java ← Kotlin ← Java with abstract
|
||||
|
||||
class G : Java3() {
|
||||
override fun foo2() {}
|
||||
override fun foo3() {}
|
||||
}
|
||||
|
||||
class H: Java4 {
|
||||
override fun foo() { }
|
||||
}
|
||||
|
||||
class I : Java5() //Kotlin ← Java ← Kotlin ← Java with explicit override in java
|
||||
|
||||
class J : Java5() { //Kotlin ← Java ← Kotlin ← Java with explicit override
|
||||
override fun foo2() { }
|
||||
override fun foo3() { }
|
||||
}
|
||||
|
||||
open class KotlinClass: Java1()
|
||||
|
||||
interface KotlinInterface : Java2
|
||||
|
||||
fun test(a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J) {
|
||||
a.foo()
|
||||
a.foo2()
|
||||
a.foo3()
|
||||
|
||||
b.foo()
|
||||
|
||||
c.foo()
|
||||
c.foo2()
|
||||
c.foo3()
|
||||
|
||||
d.foo()
|
||||
|
||||
e.foo()
|
||||
e.foo2()
|
||||
e.foo3()
|
||||
|
||||
f.foo()
|
||||
|
||||
g.foo()
|
||||
g.foo2()
|
||||
g.foo3()
|
||||
|
||||
h.foo()
|
||||
|
||||
i.foo()
|
||||
i.foo2()
|
||||
i.foo3()
|
||||
|
||||
j.foo()
|
||||
j.foo2()
|
||||
j.foo3()
|
||||
}
|
||||
Vendored
+150
@@ -0,0 +1,150 @@
|
||||
class A : Java1 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java1*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
abstract class B : Java2 {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class C : Java1 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java1*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
override fun foo2() {
|
||||
}
|
||||
|
||||
override fun foo3() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class D : Java2 {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
override fun foo() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class E : Java3 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java3*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
abstract class F : Java4 {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class G : Java3 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java3*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
override fun foo2() {
|
||||
}
|
||||
|
||||
override fun foo3() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class H : Java4 {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
override fun foo() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class I : Java5 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java5*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class J : Java5 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java5*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
override fun foo2() {
|
||||
}
|
||||
|
||||
override fun foo3() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
open class KotlinClass : Java1 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java1*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
interface KotlinInterface : Java2 {
|
||||
}
|
||||
|
||||
fun test(a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J) {
|
||||
a.foo()
|
||||
a.foo2()
|
||||
a.foo3()
|
||||
b.foo()
|
||||
c.foo()
|
||||
c.foo2()
|
||||
c.foo3()
|
||||
d.foo()
|
||||
e.foo()
|
||||
e.foo2()
|
||||
e.foo3()
|
||||
f.foo()
|
||||
g.foo()
|
||||
g.foo2()
|
||||
g.foo3()
|
||||
h.foo()
|
||||
i.foo()
|
||||
i.foo2()
|
||||
i.foo3()
|
||||
j.foo()
|
||||
j.foo2()
|
||||
j.foo3()
|
||||
}
|
||||
Vendored
+299
@@ -0,0 +1,299 @@
|
||||
// CHECK:
|
||||
// Mangled name: A
|
||||
// Public signature: /A|null[0]
|
||||
class A : Java1 {
|
||||
// CHECK:
|
||||
// Mangled name: A#<init>(){}
|
||||
// Public signature: /A.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo(){}
|
||||
// Public signature: /A.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo2(){}
|
||||
// Public signature: /A.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
/* fake */ override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo3(){}
|
||||
// Public signature: /A.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
/* fake */ override fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B
|
||||
// Public signature: /B|null[0]
|
||||
abstract class B : Java2 {
|
||||
// CHECK:
|
||||
// Mangled name: B#<init>(){}
|
||||
// Public signature: /B.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo(){}
|
||||
// Public signature: /B.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
abstract /* fake */ override fun foo(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C
|
||||
// Public signature: /C|null[0]
|
||||
class C : Java1 {
|
||||
// CHECK:
|
||||
// Mangled name: C#<init>(){}
|
||||
// Public signature: /C.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo(){}
|
||||
// Public signature: /C.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo2(){}
|
||||
// Public signature: /C.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo3(){}
|
||||
// Public signature: /C.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
override fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: D
|
||||
// Public signature: /D|null[0]
|
||||
class D : Java2 {
|
||||
// CHECK:
|
||||
// Mangled name: D#<init>(){}
|
||||
// Public signature: /D.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: D#foo(){}
|
||||
// Public signature: /D.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
override fun foo(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: E
|
||||
// Public signature: /E|null[0]
|
||||
class E : Java3 {
|
||||
// CHECK:
|
||||
// Mangled name: E#<init>(){}
|
||||
// Public signature: /E.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: E#foo(){}
|
||||
// Public signature: /E.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: E#foo2(){}
|
||||
// Public signature: /E.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
/* fake */ override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: E#foo3(){}
|
||||
// Public signature: /E.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
/* fake */ override fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: F
|
||||
// Public signature: /F|null[0]
|
||||
abstract class F : Java4 {
|
||||
// CHECK:
|
||||
// Mangled name: F#<init>(){}
|
||||
// Public signature: /F.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: F#foo(){}
|
||||
// Public signature: /F.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
abstract /* fake */ override fun foo(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: G
|
||||
// Public signature: /G|null[0]
|
||||
class G : Java3 {
|
||||
// CHECK:
|
||||
// Mangled name: G#<init>(){}
|
||||
// Public signature: /G.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: G#foo(){}
|
||||
// Public signature: /G.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: G#foo2(){}
|
||||
// Public signature: /G.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: G#foo3(){}
|
||||
// Public signature: /G.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
override fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: H
|
||||
// Public signature: /H|null[0]
|
||||
class H : Java4 {
|
||||
// CHECK:
|
||||
// Mangled name: H#<init>(){}
|
||||
// Public signature: /H.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: H#foo(){}
|
||||
// Public signature: /H.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
override fun foo(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: I
|
||||
// Public signature: /I|null[0]
|
||||
class I : Java5 {
|
||||
// CHECK:
|
||||
// Mangled name: I#<init>(){}
|
||||
// Public signature: /I.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: I#foo(){}
|
||||
// Public signature: /I.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: I#foo2(){}
|
||||
// Public signature: /I.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
/* fake */ override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: I#foo3(){}
|
||||
// Public signature: /I.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
/* fake */ override fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: J
|
||||
// Public signature: /J|null[0]
|
||||
class J : Java5 {
|
||||
// CHECK:
|
||||
// Mangled name: J#<init>(){}
|
||||
// Public signature: /J.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: J#foo(){}
|
||||
// Public signature: /J.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: J#foo2(){}
|
||||
// Public signature: /J.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: J#foo3(){}
|
||||
// Public signature: /J.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
override fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: KotlinClass
|
||||
// Public signature: /KotlinClass|null[0]
|
||||
open class KotlinClass : Java1 {
|
||||
// CHECK:
|
||||
// Mangled name: KotlinClass#<init>(){}
|
||||
// Public signature: /KotlinClass.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: KotlinClass#foo(){}
|
||||
// Public signature: /KotlinClass.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: KotlinClass#foo2(){}
|
||||
// Public signature: /KotlinClass.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
/* fake */ override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: KotlinClass#foo3(){}
|
||||
// Public signature: /KotlinClass.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
/* fake */ override fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: KotlinInterface
|
||||
// Public signature: /KotlinInterface|null[0]
|
||||
interface KotlinInterface : Java2 {
|
||||
// CHECK:
|
||||
// Mangled name: KotlinInterface#foo(){}
|
||||
// Public signature: /KotlinInterface.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
abstract /* fake */ override fun foo(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #test(A;B;C;D;E;F;G;H;I;J){}
|
||||
// Public signature: /test|-6013363711736718138[0]
|
||||
// Public signature debug description: test(A;B;C;D;E;F;G;H;I;J){}
|
||||
fun test(a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J): Unit
|
||||
Vendored
+133
@@ -0,0 +1,133 @@
|
||||
FILE fqName:<root> fileName:/1.kt
|
||||
CLASS CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.A [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Any]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Unit [inline]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
BLOCK_BODY
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Unit [external]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN name:foo3 visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Unit [suspend]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
BLOCK_BODY
|
||||
FUN name:foo4 visibility:public modality:FINAL <T> ($this:<root>.A, t:T of <root>.A.foo4) returnType:kotlin.Unit [inline]
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:true
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:t index:0 type:T of <root>.A.foo4
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:B modality:FINAL visibility:public superTypes:[<root>.Java1]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.B
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.B [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java1'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:B modality:FINAL visibility:public superTypes:[<root>.Java1]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN FAKE_OVERRIDE name:foo3 visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Unit [suspend,fake_override]
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN FAKE_OVERRIDE name:foo4 visibility:public modality:FINAL <T> ($this:<root>.A, t:T of <root>.B.foo4) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo4 <T> (t: T of <root>.Java1.foo4): kotlin.Unit declared in <root>.Java1
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:true
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:t index:0 type:T of <root>.B.foo4
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:C modality:FINAL visibility:public superTypes:[<root>.Java1]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.C
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.C [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java1'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:C modality:FINAL visibility:public superTypes:[<root>.Java1]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN FAKE_OVERRIDE name:foo4 visibility:public modality:FINAL <T> ($this:<root>.A, t:T of <root>.C.foo4) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo4 <T> (t: T of <root>.Java1.foo4): kotlin.Unit declared in <root>.Java1
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:true
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:t index:0 type:T of <root>.C.foo4
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
FUN name:foo3 visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Unit [suspend]
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
FUN name:test visibility:public modality:FINAL <> (b:<root>.B, c:<root>.C) returnType:kotlin.Unit [suspend]
|
||||
VALUE_PARAMETER name:b index:0 type:<root>.B
|
||||
VALUE_PARAMETER name:c index:1 type:<root>.C
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
CALL 'public final fun foo4 <T> (t: T of <root>.B.foo4): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.Int
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
t: CONST Int type=kotlin.Int value=1
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public final fun foo4 <T> (t: T of <root>.C.foo4): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.String
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
t: CONST String type=kotlin.String value=""
|
||||
Vendored
+54
@@ -0,0 +1,54 @@
|
||||
open class A {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
inline fun foo() {
|
||||
}
|
||||
|
||||
open external fun foo2()
|
||||
|
||||
open suspend fun foo3() {
|
||||
}
|
||||
|
||||
inline fun <reified T : Any?> foo4(t: T) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class B : Java1 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java1*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class C : Java1 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java1*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
override fun foo2() {
|
||||
}
|
||||
|
||||
override suspend fun foo3() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
suspend fun test(b: B, c: C) {
|
||||
b.foo()
|
||||
b.foo2()
|
||||
b.foo3()
|
||||
b.foo4<Int>(t = 1)
|
||||
c.foo()
|
||||
c.foo2()
|
||||
c.foo3()
|
||||
c.foo4<String>(t = "")
|
||||
}
|
||||
+113
@@ -0,0 +1,113 @@
|
||||
// CHECK:
|
||||
// Mangled name: A
|
||||
// Public signature: /A|null[0]
|
||||
open class A {
|
||||
// CHECK:
|
||||
// Mangled name: A#<init>(){}
|
||||
// Public signature: /A.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo(){}
|
||||
// Public signature: /A.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
inline fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo2(){}
|
||||
// Public signature: /A.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
open external fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo3(){}
|
||||
// Public signature: /A.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
open suspend fun foo3(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo4(0:0){0§<kotlin.Any?>}
|
||||
// Public signature: /A.foo4|-2196272918061172213[0]
|
||||
// Public signature debug description: foo4(0:0){0§<kotlin.Any?>}
|
||||
inline fun <reified T : Any?> foo4(t: T): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B
|
||||
// Public signature: /B|null[0]
|
||||
class B : Java1 {
|
||||
// CHECK:
|
||||
// Mangled name: B#<init>(){}
|
||||
// Public signature: /B.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo(){}
|
||||
// Public signature: /B.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override inline fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo2(){}
|
||||
// Public signature: /B.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
/* fake */ override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo3(){}
|
||||
// Public signature: /B.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
/* fake */ override suspend fun foo3(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo4(0:0){0§<kotlin.Any?>}
|
||||
// Public signature: /B.foo4|-2196272918061172213[0]
|
||||
// Public signature debug description: foo4(0:0){0§<kotlin.Any?>}
|
||||
/* fake */ override inline fun <reified T : Any?> foo4(t: T): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C
|
||||
// Public signature: /C|null[0]
|
||||
class C : Java1 {
|
||||
// CHECK:
|
||||
// Mangled name: C#<init>(){}
|
||||
// Public signature: /C.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo(){}
|
||||
// Public signature: /C.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override inline fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo4(0:0){0§<kotlin.Any?>}
|
||||
// Public signature: /C.foo4|-2196272918061172213[0]
|
||||
// Public signature debug description: foo4(0:0){0§<kotlin.Any?>}
|
||||
/* fake */ override inline fun <reified T : Any?> foo4(t: T): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo2(){}
|
||||
// Public signature: /C.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo3(){}
|
||||
// Public signature: /C.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
override suspend fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #test(B;C){}
|
||||
// Public signature: /test|-6359441584037827810[0]
|
||||
// Public signature debug description: test(B;C){}
|
||||
suspend fun test(b: B, c: C): Unit
|
||||
Vendored
+133
@@ -0,0 +1,133 @@
|
||||
FILE fqName:<root> fileName:/1.kt
|
||||
CLASS CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.A [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Any]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Unit [inline]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
BLOCK_BODY
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Unit [external]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN name:foo3 visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Unit [suspend]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
BLOCK_BODY
|
||||
FUN name:foo4 visibility:public modality:FINAL <T> ($this:<root>.A, t:T of <root>.A.foo4) returnType:kotlin.Unit [inline]
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:true
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:t index:0 type:T of <root>.A.foo4
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:B modality:FINAL visibility:public superTypes:[<root>.Java1]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.B
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.B [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java1'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:B modality:FINAL visibility:public superTypes:[<root>.Java1]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Unit [external,fake_override]
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN FAKE_OVERRIDE name:foo3 visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Unit [suspend,fake_override]
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN FAKE_OVERRIDE name:foo4 visibility:public modality:FINAL <T> ($this:<root>.A, t:T of <root>.B.foo4) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo4 <T> (t: T of <root>.Java1.foo4): kotlin.Unit declared in <root>.Java1
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:true
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:t index:0 type:T of <root>.B.foo4
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:C modality:FINAL visibility:public superTypes:[<root>.Java1]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.C
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.C [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java1'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:C modality:FINAL visibility:public superTypes:[<root>.Java1]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN FAKE_OVERRIDE name:foo4 visibility:public modality:FINAL <T> ($this:<root>.A, t:T of <root>.C.foo4) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo4 <T> (t: T of <root>.Java1.foo4): kotlin.Unit declared in <root>.Java1
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:true
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:t index:0 type:T of <root>.C.foo4
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
FUN name:foo3 visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Unit [suspend]
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
FUN name:test visibility:public modality:FINAL <> (b:<root>.B, c:<root>.C) returnType:kotlin.Unit [suspend]
|
||||
VALUE_PARAMETER name:b index:0 type:<root>.B
|
||||
VALUE_PARAMETER name:c index:1 type:<root>.C
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
CALL 'public final fun foo4 <T> (t: T of <root>.B.foo4): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.Int
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
t: CONST Int type=kotlin.Int value=1
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public final fun foo4 <T> (t: T of <root>.C.foo4): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.String
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
t: CONST String type=kotlin.String value=""
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// SEPARATE_SIGNATURE_DUMP_FOR_K2
|
||||
// ^ Difference in external
|
||||
|
||||
// FILE: Java1.java
|
||||
|
||||
public class Java1 extends A { }
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
open class A {
|
||||
inline fun foo() {}
|
||||
open external fun foo2()
|
||||
open suspend fun foo3() {}
|
||||
inline fun <reified T> foo4(t: T){}
|
||||
}
|
||||
|
||||
class B : Java1() //Kotlin ← Java ← Kotlin
|
||||
|
||||
class C : Java1() { //Kotlin ← Java ← Kotlin with explicit override
|
||||
override suspend fun foo3() { }
|
||||
override fun foo2() {}
|
||||
}
|
||||
|
||||
suspend fun test(b: B, c: C) {
|
||||
b.foo()
|
||||
b.foo2()
|
||||
b.foo3()
|
||||
b.foo4(1)
|
||||
|
||||
c.foo()
|
||||
c.foo2()
|
||||
c.foo3()
|
||||
c.foo4("")
|
||||
}
|
||||
Vendored
+54
@@ -0,0 +1,54 @@
|
||||
open class A {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
inline fun foo() {
|
||||
}
|
||||
|
||||
open external fun foo2()
|
||||
|
||||
open suspend fun foo3() {
|
||||
}
|
||||
|
||||
inline fun <reified T : Any?> foo4(t: T) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class B : Java1 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java1*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class C : Java1 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java1*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
override fun foo2() {
|
||||
}
|
||||
|
||||
override suspend fun foo3() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
suspend fun test(b: B, c: C) {
|
||||
b.foo()
|
||||
b.foo2()
|
||||
b.foo3()
|
||||
b.foo4<Int>(t = 1)
|
||||
c.foo()
|
||||
c.foo2()
|
||||
c.foo3()
|
||||
c.foo4<String>(t = "")
|
||||
}
|
||||
Vendored
+113
@@ -0,0 +1,113 @@
|
||||
// CHECK:
|
||||
// Mangled name: A
|
||||
// Public signature: /A|null[0]
|
||||
open class A {
|
||||
// CHECK:
|
||||
// Mangled name: A#<init>(){}
|
||||
// Public signature: /A.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo(){}
|
||||
// Public signature: /A.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
inline fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo2(){}
|
||||
// Public signature: /A.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
open external fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo3(){}
|
||||
// Public signature: /A.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
open suspend fun foo3(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo4(0:0){0§<kotlin.Any?>}
|
||||
// Public signature: /A.foo4|-2196272918061172213[0]
|
||||
// Public signature debug description: foo4(0:0){0§<kotlin.Any?>}
|
||||
inline fun <reified T : Any?> foo4(t: T): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B
|
||||
// Public signature: /B|null[0]
|
||||
class B : Java1 {
|
||||
// CHECK:
|
||||
// Mangled name: B#<init>(){}
|
||||
// Public signature: /B.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo(){}
|
||||
// Public signature: /B.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override inline fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo2(){}
|
||||
// Public signature: /B.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
external /* fake */ override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo3(){}
|
||||
// Public signature: /B.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
/* fake */ override suspend fun foo3(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo4(0:0){0§<kotlin.Any?>}
|
||||
// Public signature: /B.foo4|-2196272918061172213[0]
|
||||
// Public signature debug description: foo4(0:0){0§<kotlin.Any?>}
|
||||
/* fake */ override inline fun <reified T : Any?> foo4(t: T): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C
|
||||
// Public signature: /C|null[0]
|
||||
class C : Java1 {
|
||||
// CHECK:
|
||||
// Mangled name: C#<init>(){}
|
||||
// Public signature: /C.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo(){}
|
||||
// Public signature: /C.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override inline fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo4(0:0){0§<kotlin.Any?>}
|
||||
// Public signature: /C.foo4|-2196272918061172213[0]
|
||||
// Public signature debug description: foo4(0:0){0§<kotlin.Any?>}
|
||||
/* fake */ override inline fun <reified T : Any?> foo4(t: T): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo2(){}
|
||||
// Public signature: /C.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo3(){}
|
||||
// Public signature: /C.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
override suspend fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #test(B;C){}
|
||||
// Public signature: /test|-6359441584037827810[0]
|
||||
// Public signature debug description: test(B;C){}
|
||||
suspend fun test(b: B, c: C): Unit
|
||||
Vendored
+420
@@ -0,0 +1,420 @@
|
||||
FILE fqName:<root> fileName:/1.kt
|
||||
CLASS CLASS name:A modality:ABSTRACT visibility:public superTypes:[<root>.Java1; <root>.Java2]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.A [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java2'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:A modality:ABSTRACT visibility:public superTypes:[<root>.Java1; <root>.Java2]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java1
|
||||
public final fun foo (): kotlin.Unit declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:OPEN <> ($this:<root>.Java2) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
FUN FAKE_OVERRIDE name:foo3 visibility:public modality:OPEN <> ($this:<root>.Java2) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
public open fun toString (): kotlin.String declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:B modality:FINAL visibility:public superTypes:[<root>.Java2; <root>.Java3]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.B
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.B [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java2'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:B modality:FINAL visibility:public superTypes:[<root>.Java2; <root>.Java3]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java2
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.Java2) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.Java2
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:OPEN <> ($this:<root>.Java2) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.Java2
|
||||
public abstract fun foo2 (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
FUN FAKE_OVERRIDE name:foo3 visibility:public modality:OPEN <> ($this:<root>.Java2) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.Java2
|
||||
public abstract fun foo3 (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java2
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java2
|
||||
public open fun toString (): kotlin.String declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:C modality:FINAL visibility:public superTypes:[<root>.Java2; <root>.Java3]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.C
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.C [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java2'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:C modality:FINAL visibility:public superTypes:[<root>.Java2; <root>.Java3]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java2
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.Java2) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.Java2
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java2
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java2
|
||||
public open fun toString (): kotlin.String declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.Java2
|
||||
public abstract fun foo2 (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
FUN name:foo3 visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.Java2
|
||||
public abstract fun foo3 (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:D modality:ABSTRACT visibility:public superTypes:[<root>.Java1; <root>.Java3]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.D
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.D [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:D modality:ABSTRACT visibility:public superTypes:[<root>.Java1; <root>.Java3]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:ABSTRACT <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java1
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:ABSTRACT <> ($this:<root>.Java3) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public abstract fun foo2 (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java3
|
||||
FUN FAKE_OVERRIDE name:foo3 visibility:public modality:ABSTRACT <> ($this:<root>.Java3) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public abstract fun foo3 (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java3
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
public open fun toString (): kotlin.String declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:E modality:FINAL visibility:public superTypes:[<root>.Java1; <root>.Java3]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.E
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.E [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:E modality:FINAL visibility:public superTypes:[<root>.Java1; <root>.Java3]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
public open fun toString (): kotlin.String declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo visibility:public modality:OPEN <> ($this:<root>.E) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java1
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.E
|
||||
BLOCK_BODY
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.E) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public abstract fun foo2 (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.E
|
||||
BLOCK_BODY
|
||||
FUN name:foo3 visibility:public modality:OPEN <> ($this:<root>.E) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public abstract fun foo3 (): kotlin.Unit declared in <root>.Java3
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.E
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:F modality:FINAL visibility:public superTypes:[<root>.Java2; <root>.KotlinInterface]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.F
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.F [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java2'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:F modality:FINAL visibility:public superTypes:[<root>.Java2; <root>.KotlinInterface]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java2
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.Java2) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.Java2
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:OPEN <> ($this:<root>.Java2) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.Java2
|
||||
public abstract fun foo2 (): kotlin.Unit declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
FUN FAKE_OVERRIDE name:foo3 visibility:public modality:OPEN <> ($this:<root>.Java2) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.Java2
|
||||
public abstract fun foo3 (): kotlin.Unit declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java2
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java2
|
||||
public open fun toString (): kotlin.String declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:G modality:FINAL visibility:public superTypes:[<root>.Java2; <root>.KotlinInterface]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.G
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.G [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java2'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:G modality:FINAL visibility:public superTypes:[<root>.Java2; <root>.KotlinInterface]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java2
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.Java2) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.Java2
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java2
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java2
|
||||
public open fun toString (): kotlin.String declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.G) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.Java2
|
||||
public abstract fun foo2 (): kotlin.Unit declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.G
|
||||
BLOCK_BODY
|
||||
FUN name:foo3 visibility:public modality:OPEN <> ($this:<root>.G) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.Java2
|
||||
public abstract fun foo3 (): kotlin.Unit declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.G
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:H modality:ABSTRACT visibility:public superTypes:[<root>.Java1; <root>.KotlinInterface]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.H
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.H [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:H modality:ABSTRACT visibility:public superTypes:[<root>.Java1; <root>.KotlinInterface]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:ABSTRACT <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java1
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:ABSTRACT <> ($this:<root>.KotlinInterface) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public abstract fun foo2 (): kotlin.Unit declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.KotlinInterface
|
||||
FUN FAKE_OVERRIDE name:foo3 visibility:public modality:ABSTRACT <> ($this:<root>.KotlinInterface) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public abstract fun foo3 (): kotlin.Unit declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.KotlinInterface
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
public open fun toString (): kotlin.String declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:I modality:FINAL visibility:public superTypes:[<root>.Java1; <root>.KotlinInterface]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.I
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.I [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:I modality:FINAL visibility:public superTypes:[<root>.Java1; <root>.KotlinInterface]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
public open fun toString (): kotlin.String declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo visibility:public modality:OPEN <> ($this:<root>.I) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java1
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.I
|
||||
BLOCK_BODY
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.I) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public abstract fun foo2 (): kotlin.Unit declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.I
|
||||
BLOCK_BODY
|
||||
FUN name:foo3 visibility:public modality:OPEN <> ($this:<root>.I) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public abstract fun foo3 (): kotlin.Unit declared in <root>.KotlinInterface
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.I
|
||||
BLOCK_BODY
|
||||
CLASS INTERFACE name:KotlinInterface modality:ABSTRACT visibility:public superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.KotlinInterface
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo visibility:public modality:ABSTRACT <> ($this:<root>.KotlinInterface) returnType:kotlin.Unit
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.KotlinInterface
|
||||
FUN name:foo2 visibility:public modality:ABSTRACT <> ($this:<root>.KotlinInterface) returnType:kotlin.Unit
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.KotlinInterface
|
||||
FUN name:foo3 visibility:public modality:ABSTRACT <> ($this:<root>.KotlinInterface) returnType:kotlin.Unit
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.KotlinInterface
|
||||
FUN name:test visibility:public modality:FINAL <> (a:<root>.A, b:<root>.B, c:<root>.C, d:<root>.D, e:<root>.E, f:<root>.F, g:<root>.G, h:<root>.H, i:<root>.I) returnType:kotlin.Unit
|
||||
VALUE_PARAMETER name:a index:0 type:<root>.A
|
||||
VALUE_PARAMETER name:b index:1 type:<root>.B
|
||||
VALUE_PARAMETER name:c index:2 type:<root>.C
|
||||
VALUE_PARAMETER name:d index:3 type:<root>.D
|
||||
VALUE_PARAMETER name:e index:4 type:<root>.E
|
||||
VALUE_PARAMETER name:f index:5 type:<root>.F
|
||||
VALUE_PARAMETER name:g index:6 type:<root>.G
|
||||
VALUE_PARAMETER name:h index:7 type:<root>.H
|
||||
VALUE_PARAMETER name:i index:8 type:<root>.I
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.A' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'a: <root>.A declared in <root>.test' type=<root>.A origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.A' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'a: <root>.A declared in <root>.test' type=<root>.A origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.A' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'a: <root>.A declared in <root>.test' type=<root>.A origin=null
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public abstract fun foo (): kotlin.Unit declared in <root>.D' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'd: <root>.D declared in <root>.test' type=<root>.D origin=null
|
||||
CALL 'public abstract fun foo2 (): kotlin.Unit declared in <root>.D' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'd: <root>.D declared in <root>.test' type=<root>.D origin=null
|
||||
CALL 'public abstract fun foo3 (): kotlin.Unit declared in <root>.D' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'd: <root>.D declared in <root>.test' type=<root>.D origin=null
|
||||
CALL 'public open fun foo (): kotlin.Unit declared in <root>.E' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'e: <root>.E declared in <root>.test' type=<root>.E origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.E' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'e: <root>.E declared in <root>.test' type=<root>.E origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.E' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'e: <root>.E declared in <root>.test' type=<root>.E origin=null
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.F' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'f: <root>.F declared in <root>.test' type=<root>.F origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.F' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'f: <root>.F declared in <root>.test' type=<root>.F origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.F' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'f: <root>.F declared in <root>.test' type=<root>.F origin=null
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.G' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'g: <root>.G declared in <root>.test' type=<root>.G origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.G' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'g: <root>.G declared in <root>.test' type=<root>.G origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.G' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'g: <root>.G declared in <root>.test' type=<root>.G origin=null
|
||||
CALL 'public abstract fun foo (): kotlin.Unit declared in <root>.H' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'h: <root>.H declared in <root>.test' type=<root>.H origin=null
|
||||
CALL 'public abstract fun foo2 (): kotlin.Unit declared in <root>.H' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'h: <root>.H declared in <root>.test' type=<root>.H origin=null
|
||||
CALL 'public abstract fun foo3 (): kotlin.Unit declared in <root>.H' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'h: <root>.H declared in <root>.test' type=<root>.H origin=null
|
||||
CALL 'public open fun foo (): kotlin.Unit declared in <root>.I' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'i: <root>.I declared in <root>.test' type=<root>.I origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.I' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'i: <root>.I declared in <root>.test' type=<root>.I origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.I' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'i: <root>.I declared in <root>.test' type=<root>.I origin=null
|
||||
Vendored
+91
@@ -0,0 +1,91 @@
|
||||
// FIR_IDENTICAL
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// FILE: Java1.java
|
||||
public interface Java1 {
|
||||
public abstract void foo();
|
||||
}
|
||||
|
||||
// FILE: Java2.java
|
||||
public class Java2 {
|
||||
public final void foo(){};
|
||||
public native void foo2();
|
||||
public synchronized void foo3(){};
|
||||
}
|
||||
|
||||
// FILE: Java3.java
|
||||
public interface Java3 {
|
||||
public void foo();
|
||||
public void foo2();
|
||||
public void foo3();
|
||||
}
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
abstract class A : Java1, Java2() //Kotlin ← Java1, Java2
|
||||
|
||||
class B : Java2(), Java3
|
||||
|
||||
class C : Java2(), Java3 {
|
||||
override fun foo2() { }
|
||||
override fun foo3() { }
|
||||
}
|
||||
|
||||
abstract class D : Java1, Java3
|
||||
|
||||
class E : Java1, Java3 {
|
||||
override fun foo() { }
|
||||
override fun foo2() { }
|
||||
override fun foo3() { }
|
||||
}
|
||||
|
||||
class F : Java2(), KotlinInterface //Kotlin ← Java, Kotlin2
|
||||
|
||||
class G: Java2(), KotlinInterface {
|
||||
override fun foo2() { }
|
||||
override fun foo3() { }
|
||||
}
|
||||
|
||||
abstract class H : Java1, KotlinInterface
|
||||
|
||||
class I : Java1, KotlinInterface {
|
||||
override fun foo(){ }
|
||||
override fun foo2() { }
|
||||
override fun foo3() { }
|
||||
}
|
||||
|
||||
interface KotlinInterface {
|
||||
fun foo()
|
||||
fun foo2()
|
||||
fun foo3()
|
||||
}
|
||||
|
||||
fun test(a: A, b: B, c: C, d: D, e: E, f: F, g: G,h: H, i: I){
|
||||
a.foo()
|
||||
a.foo2()
|
||||
a.foo3()
|
||||
b.foo()
|
||||
b.foo2()
|
||||
b.foo3()
|
||||
c.foo()
|
||||
c.foo2()
|
||||
c.foo3()
|
||||
d.foo()
|
||||
d.foo2()
|
||||
d.foo3()
|
||||
e.foo()
|
||||
e.foo2()
|
||||
e.foo3()
|
||||
f.foo()
|
||||
f.foo2()
|
||||
f.foo3()
|
||||
g.foo()
|
||||
g.foo2()
|
||||
g.foo3()
|
||||
h.foo()
|
||||
h.foo2()
|
||||
h.foo3()
|
||||
i.foo()
|
||||
i.foo2()
|
||||
i.foo3()
|
||||
}
|
||||
Vendored
+149
@@ -0,0 +1,149 @@
|
||||
abstract class A : Java2, Java1 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java2*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class B : Java2, Java3 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java2*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class C : Java2, Java3 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java2*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
override fun foo2() {
|
||||
}
|
||||
|
||||
override fun foo3() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
abstract class D : Java1, Java3 {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class E : Java1, Java3 {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
override fun foo() {
|
||||
}
|
||||
|
||||
override fun foo2() {
|
||||
}
|
||||
|
||||
override fun foo3() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class F : Java2, KotlinInterface {
|
||||
constructor() /* primary */ {
|
||||
super/*Java2*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class G : Java2, KotlinInterface {
|
||||
constructor() /* primary */ {
|
||||
super/*Java2*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
override fun foo2() {
|
||||
}
|
||||
|
||||
override fun foo3() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
abstract class H : Java1, KotlinInterface {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class I : Java1, KotlinInterface {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
override fun foo() {
|
||||
}
|
||||
|
||||
override fun foo2() {
|
||||
}
|
||||
|
||||
override fun foo3() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
interface KotlinInterface {
|
||||
abstract fun foo()
|
||||
|
||||
abstract fun foo2()
|
||||
|
||||
abstract fun foo3()
|
||||
|
||||
}
|
||||
|
||||
fun test(a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I) {
|
||||
a.foo()
|
||||
a.foo2()
|
||||
a.foo3()
|
||||
b.foo()
|
||||
b.foo2()
|
||||
b.foo3()
|
||||
c.foo()
|
||||
c.foo2()
|
||||
c.foo3()
|
||||
d.foo()
|
||||
d.foo2()
|
||||
d.foo3()
|
||||
e.foo()
|
||||
e.foo2()
|
||||
e.foo3()
|
||||
f.foo()
|
||||
f.foo2()
|
||||
f.foo3()
|
||||
g.foo()
|
||||
g.foo2()
|
||||
g.foo3()
|
||||
h.foo()
|
||||
h.foo2()
|
||||
h.foo3()
|
||||
i.foo()
|
||||
i.foo2()
|
||||
i.foo3()
|
||||
}
|
||||
+299
@@ -0,0 +1,299 @@
|
||||
// CHECK:
|
||||
// Mangled name: A
|
||||
// Public signature: /A|null[0]
|
||||
abstract class A : Java2, Java1 {
|
||||
// CHECK:
|
||||
// Mangled name: A#<init>(){}
|
||||
// Public signature: /A.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo(){}
|
||||
// Public signature: /A.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo2(){}
|
||||
// Public signature: /A.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
/* fake */ override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo3(){}
|
||||
// Public signature: /A.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
/* fake */ override fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B
|
||||
// Public signature: /B|null[0]
|
||||
class B : Java2, Java3 {
|
||||
// CHECK:
|
||||
// Mangled name: B#<init>(){}
|
||||
// Public signature: /B.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo(){}
|
||||
// Public signature: /B.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo2(){}
|
||||
// Public signature: /B.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
/* fake */ override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo3(){}
|
||||
// Public signature: /B.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
/* fake */ override fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C
|
||||
// Public signature: /C|null[0]
|
||||
class C : Java2, Java3 {
|
||||
// CHECK:
|
||||
// Mangled name: C#<init>(){}
|
||||
// Public signature: /C.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo(){}
|
||||
// Public signature: /C.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo2(){}
|
||||
// Public signature: /C.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo3(){}
|
||||
// Public signature: /C.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
override fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: D
|
||||
// Public signature: /D|null[0]
|
||||
abstract class D : Java1, Java3 {
|
||||
// CHECK:
|
||||
// Mangled name: D#<init>(){}
|
||||
// Public signature: /D.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: D#foo(){}
|
||||
// Public signature: /D.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
abstract /* fake */ override fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: D#foo2(){}
|
||||
// Public signature: /D.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
abstract /* fake */ override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: D#foo3(){}
|
||||
// Public signature: /D.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
abstract /* fake */ override fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: E
|
||||
// Public signature: /E|null[0]
|
||||
class E : Java1, Java3 {
|
||||
// CHECK:
|
||||
// Mangled name: E#<init>(){}
|
||||
// Public signature: /E.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: E#foo(){}
|
||||
// Public signature: /E.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
override fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: E#foo2(){}
|
||||
// Public signature: /E.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: E#foo3(){}
|
||||
// Public signature: /E.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
override fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: F
|
||||
// Public signature: /F|null[0]
|
||||
class F : Java2, KotlinInterface {
|
||||
// CHECK:
|
||||
// Mangled name: F#<init>(){}
|
||||
// Public signature: /F.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: F#foo(){}
|
||||
// Public signature: /F.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: F#foo2(){}
|
||||
// Public signature: /F.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
/* fake */ override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: F#foo3(){}
|
||||
// Public signature: /F.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
/* fake */ override fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: G
|
||||
// Public signature: /G|null[0]
|
||||
class G : Java2, KotlinInterface {
|
||||
// CHECK:
|
||||
// Mangled name: G#<init>(){}
|
||||
// Public signature: /G.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: G#foo(){}
|
||||
// Public signature: /G.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: G#foo2(){}
|
||||
// Public signature: /G.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: G#foo3(){}
|
||||
// Public signature: /G.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
override fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: H
|
||||
// Public signature: /H|null[0]
|
||||
abstract class H : Java1, KotlinInterface {
|
||||
// CHECK:
|
||||
// Mangled name: H#<init>(){}
|
||||
// Public signature: /H.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: H#foo(){}
|
||||
// Public signature: /H.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
abstract /* fake */ override fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: H#foo2(){}
|
||||
// Public signature: /H.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
abstract /* fake */ override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: H#foo3(){}
|
||||
// Public signature: /H.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
abstract /* fake */ override fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: I
|
||||
// Public signature: /I|null[0]
|
||||
class I : Java1, KotlinInterface {
|
||||
// CHECK:
|
||||
// Mangled name: I#<init>(){}
|
||||
// Public signature: /I.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: I#foo(){}
|
||||
// Public signature: /I.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
override fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: I#foo2(){}
|
||||
// Public signature: /I.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: I#foo3(){}
|
||||
// Public signature: /I.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
override fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: KotlinInterface
|
||||
// Public signature: /KotlinInterface|null[0]
|
||||
interface KotlinInterface {
|
||||
// CHECK:
|
||||
// Mangled name: KotlinInterface#foo(){}
|
||||
// Public signature: /KotlinInterface.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
abstract fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: KotlinInterface#foo2(){}
|
||||
// Public signature: /KotlinInterface.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
abstract fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: KotlinInterface#foo3(){}
|
||||
// Public signature: /KotlinInterface.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
abstract fun foo3(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #test(A;B;C;D;E;F;G;H;I){}
|
||||
// Public signature: /test|-1897371180652527268[0]
|
||||
// Public signature debug description: test(A;B;C;D;E;F;G;H;I){}
|
||||
fun test(a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I): Unit
|
||||
+152
@@ -0,0 +1,152 @@
|
||||
FILE fqName:<root> fileName:/1.kt
|
||||
CLASS CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.A [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Any]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Unit [inline]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
BLOCK_BODY
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Unit [external]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN name:foo3 visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Unit [suspend]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
BLOCK_BODY
|
||||
FUN name:foo4 visibility:public modality:FINAL <T> ($this:<root>.A, t:T of <root>.A.foo4) returnType:kotlin.Unit [inline]
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:true
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:t index:0 type:T of <root>.A.foo4
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:B modality:ABSTRACT visibility:public superTypes:[<root>.A; <root>.Java1]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.B
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.B [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.A'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:B modality:ABSTRACT visibility:public superTypes:[<root>.A; <root>.Java1]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.A
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.A
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.A
|
||||
public abstract fun foo2 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN FAKE_OVERRIDE name:foo3 visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Unit [suspend,fake_override]
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.A
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN FAKE_OVERRIDE name:foo4 visibility:public modality:ABSTRACT <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public abstract fun foo4 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:foo4 visibility:public modality:FINAL <T> ($this:<root>.A, t:T of <root>.B.foo4) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo4 <T> (t: T of <root>.A.foo4): kotlin.Unit declared in <root>.A
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:true
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:t index:0 type:T of <root>.B.foo4
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.A
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.A
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:C modality:FINAL visibility:public superTypes:[<root>.A; <root>.Java1]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.C
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.C [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.A'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:C modality:FINAL visibility:public superTypes:[<root>.A; <root>.Java1]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.A
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.A
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN FAKE_OVERRIDE name:foo4 visibility:public modality:FINAL <T> ($this:<root>.A, t:T of <root>.C.foo4) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo4 <T> (t: T of <root>.A.foo4): kotlin.Unit declared in <root>.A
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:true
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:t index:0 type:T of <root>.C.foo4
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.A
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.A
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.A
|
||||
public abstract fun foo2 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
FUN name:foo3 visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Unit [suspend]
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.A
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
FUN name:foo4 visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public abstract fun foo4 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
FUN name:test visibility:public modality:FINAL <> (b:<root>.B, c:<root>.C) returnType:kotlin.Unit [suspend]
|
||||
VALUE_PARAMETER name:b index:0 type:<root>.B
|
||||
VALUE_PARAMETER name:c index:1 type:<root>.C
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
CALL 'public final fun foo4 <T> (t: T of <root>.B.foo4): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.Int
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
t: CONST Int type=kotlin.Int value=1
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public final fun foo4 <T> (t: T of <root>.C.foo4): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.String
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
t: CONST String type=kotlin.String value=""
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
open class A {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
inline fun foo() {
|
||||
}
|
||||
|
||||
open external fun foo2()
|
||||
|
||||
open suspend fun foo3() {
|
||||
}
|
||||
|
||||
inline fun <reified T : Any?> foo4(t: T) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
abstract class B : A, Java1 {
|
||||
constructor() /* primary */ {
|
||||
super/*A*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class C : A, Java1 {
|
||||
constructor() /* primary */ {
|
||||
super/*A*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
override fun foo2() {
|
||||
}
|
||||
|
||||
override suspend fun foo3() {
|
||||
}
|
||||
|
||||
override fun foo4() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
suspend fun test(b: B, c: C) {
|
||||
b.foo()
|
||||
b.foo2()
|
||||
b.foo3()
|
||||
b.foo4<Int>(t = 1)
|
||||
c.foo()
|
||||
c.foo2()
|
||||
c.foo3()
|
||||
c.foo4<String>(t = "")
|
||||
}
|
||||
+125
@@ -0,0 +1,125 @@
|
||||
// CHECK:
|
||||
// Mangled name: A
|
||||
// Public signature: /A|null[0]
|
||||
open class A {
|
||||
// CHECK:
|
||||
// Mangled name: A#<init>(){}
|
||||
// Public signature: /A.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo(){}
|
||||
// Public signature: /A.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
inline fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo2(){}
|
||||
// Public signature: /A.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
open external fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo3(){}
|
||||
// Public signature: /A.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
open suspend fun foo3(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo4(0:0){0§<kotlin.Any?>}
|
||||
// Public signature: /A.foo4|-2196272918061172213[0]
|
||||
// Public signature debug description: foo4(0:0){0§<kotlin.Any?>}
|
||||
inline fun <reified T : Any?> foo4(t: T): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B
|
||||
// Public signature: /B|null[0]
|
||||
abstract class B : A, Java1 {
|
||||
// CHECK:
|
||||
// Mangled name: B#<init>(){}
|
||||
// Public signature: /B.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo(){}
|
||||
// Public signature: /B.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override inline fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo2(){}
|
||||
// Public signature: /B.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
/* fake */ override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo3(){}
|
||||
// Public signature: /B.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
/* fake */ override suspend fun foo3(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo4(){}
|
||||
// Public signature: /B.foo4|-6020267482604528061[0]
|
||||
// Public signature debug description: foo4(){}
|
||||
abstract /* fake */ override fun foo4(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo4(0:0){0§<kotlin.Any?>}
|
||||
// Public signature: /B.foo4|-2196272918061172213[0]
|
||||
// Public signature debug description: foo4(0:0){0§<kotlin.Any?>}
|
||||
/* fake */ override inline fun <reified T : Any?> foo4(t: T): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C
|
||||
// Public signature: /C|null[0]
|
||||
class C : A, Java1 {
|
||||
// CHECK:
|
||||
// Mangled name: C#<init>(){}
|
||||
// Public signature: /C.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo(){}
|
||||
// Public signature: /C.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override inline fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo4(0:0){0§<kotlin.Any?>}
|
||||
// Public signature: /C.foo4|-2196272918061172213[0]
|
||||
// Public signature debug description: foo4(0:0){0§<kotlin.Any?>}
|
||||
/* fake */ override inline fun <reified T : Any?> foo4(t: T): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo2(){}
|
||||
// Public signature: /C.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo3(){}
|
||||
// Public signature: /C.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
override suspend fun foo3(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo4(){}
|
||||
// Public signature: /C.foo4|-6020267482604528061[0]
|
||||
// Public signature debug description: foo4(){}
|
||||
override fun foo4(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #test(B;C){}
|
||||
// Public signature: /test|-6359441584037827810[0]
|
||||
// Public signature debug description: test(B;C){}
|
||||
suspend fun test(b: B, c: C): Unit
|
||||
compiler/testData/ir/irText/fakeOverrides/methodmodifiers/intersectionKotlinModifiersOverride.ir.txt
Vendored
+152
@@ -0,0 +1,152 @@
|
||||
FILE fqName:<root> fileName:/1.kt
|
||||
CLASS CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.A [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Any]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Unit [inline]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
BLOCK_BODY
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Unit [external]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN name:foo3 visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Unit [suspend]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
BLOCK_BODY
|
||||
FUN name:foo4 visibility:public modality:FINAL <T> ($this:<root>.A, t:T of <root>.A.foo4) returnType:kotlin.Unit [inline]
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:true
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:t index:0 type:T of <root>.A.foo4
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:B modality:ABSTRACT visibility:public superTypes:[<root>.A; <root>.Java1]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.B
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.B [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.A'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:B modality:ABSTRACT visibility:public superTypes:[<root>.A; <root>.Java1]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.A
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.A
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Unit [external,fake_override]
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.A
|
||||
public abstract fun foo2 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN FAKE_OVERRIDE name:foo3 visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Unit [suspend,fake_override]
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.A
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN FAKE_OVERRIDE name:foo4 visibility:public modality:ABSTRACT <> ($this:<root>.Java1) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public abstract fun foo4 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
|
||||
FUN FAKE_OVERRIDE name:foo4 visibility:public modality:FINAL <T> ($this:<root>.A, t:T of <root>.B.foo4) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo4 <T> (t: T of <root>.A.foo4): kotlin.Unit declared in <root>.A
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:true
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:t index:0 type:T of <root>.B.foo4
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.A
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.A
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:C modality:FINAL visibility:public superTypes:[<root>.A; <root>.Java1]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.C
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.C [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.A'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:C modality:FINAL visibility:public superTypes:[<root>.A; <root>.Java1]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.A
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo (): kotlin.Unit declared in <root>.A
|
||||
public abstract fun foo (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
FUN FAKE_OVERRIDE name:foo4 visibility:public modality:FINAL <T> ($this:<root>.A, t:T of <root>.C.foo4) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo4 <T> (t: T of <root>.A.foo4): kotlin.Unit declared in <root>.A
|
||||
TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any?] reified:true
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:t index:0 type:T of <root>.C.foo4
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.A
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.A
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public open fun foo2 (): kotlin.Unit declared in <root>.A
|
||||
public abstract fun foo2 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
FUN name:foo3 visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Unit [suspend]
|
||||
overridden:
|
||||
public open fun foo3 (): kotlin.Unit declared in <root>.A
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
FUN name:foo4 visibility:public modality:OPEN <> ($this:<root>.C) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public abstract fun foo4 (): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.C
|
||||
BLOCK_BODY
|
||||
FUN name:test visibility:public modality:FINAL <> (b:<root>.B, c:<root>.C) returnType:kotlin.Unit [suspend]
|
||||
VALUE_PARAMETER name:b index:0 type:<root>.B
|
||||
VALUE_PARAMETER name:c index:1 type:<root>.C
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
CALL 'public final fun foo4 <T> (t: T of <root>.B.foo4): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.Int
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
t: CONST Int type=kotlin.Int value=1
|
||||
CALL 'public final fun foo (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public open fun foo2 (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public open fun foo3 (): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
CALL 'public final fun foo4 <T> (t: T of <root>.C.foo4): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.String
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
t: CONST String type=kotlin.String value=""
|
||||
Vendored
+38
@@ -0,0 +1,38 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// SEPARATE_SIGNATURE_DUMP_FOR_K2
|
||||
// ^ Difference in external
|
||||
|
||||
// FILE: Java1.java
|
||||
public interface Java1 {
|
||||
public void foo();
|
||||
public void foo2();
|
||||
public void foo4();
|
||||
}
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
open class A {
|
||||
inline fun foo() {}
|
||||
open external fun foo2()
|
||||
open suspend fun foo3() {}
|
||||
inline fun <reified T> foo4(t: T){}
|
||||
}
|
||||
|
||||
abstract class B : A(), Java1 //Kotlin ← Java, Kotlin2
|
||||
|
||||
class C : A(), Java1 {
|
||||
override fun foo2() { }
|
||||
override fun foo4() { }
|
||||
override suspend fun foo3() {}
|
||||
}
|
||||
|
||||
suspend fun test(b: B, c: C) {
|
||||
b.foo()
|
||||
b.foo2()
|
||||
b.foo3()
|
||||
b.foo4(1)
|
||||
c.foo()
|
||||
c.foo2()
|
||||
c.foo3()
|
||||
c.foo4("")
|
||||
}
|
||||
compiler/testData/ir/irText/fakeOverrides/methodmodifiers/intersectionKotlinModifiersOverride.kt.txt
Vendored
+57
@@ -0,0 +1,57 @@
|
||||
open class A {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
inline fun foo() {
|
||||
}
|
||||
|
||||
open external fun foo2()
|
||||
|
||||
open suspend fun foo3() {
|
||||
}
|
||||
|
||||
inline fun <reified T : Any?> foo4(t: T) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
abstract class B : A, Java1 {
|
||||
constructor() /* primary */ {
|
||||
super/*A*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class C : A, Java1 {
|
||||
constructor() /* primary */ {
|
||||
super/*A*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
override fun foo2() {
|
||||
}
|
||||
|
||||
override suspend fun foo3() {
|
||||
}
|
||||
|
||||
override fun foo4() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
suspend fun test(b: B, c: C) {
|
||||
b.foo()
|
||||
b.foo2()
|
||||
b.foo3()
|
||||
b.foo4<Int>(t = 1)
|
||||
c.foo()
|
||||
c.foo2()
|
||||
c.foo3()
|
||||
c.foo4<String>(t = "")
|
||||
}
|
||||
+125
@@ -0,0 +1,125 @@
|
||||
// CHECK:
|
||||
// Mangled name: A
|
||||
// Public signature: /A|null[0]
|
||||
open class A {
|
||||
// CHECK:
|
||||
// Mangled name: A#<init>(){}
|
||||
// Public signature: /A.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo(){}
|
||||
// Public signature: /A.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
inline fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo2(){}
|
||||
// Public signature: /A.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
open external fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo3(){}
|
||||
// Public signature: /A.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
open suspend fun foo3(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo4(0:0){0§<kotlin.Any?>}
|
||||
// Public signature: /A.foo4|-2196272918061172213[0]
|
||||
// Public signature debug description: foo4(0:0){0§<kotlin.Any?>}
|
||||
inline fun <reified T : Any?> foo4(t: T): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B
|
||||
// Public signature: /B|null[0]
|
||||
abstract class B : A, Java1 {
|
||||
// CHECK:
|
||||
// Mangled name: B#<init>(){}
|
||||
// Public signature: /B.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo(){}
|
||||
// Public signature: /B.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override inline fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo2(){}
|
||||
// Public signature: /B.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
external /* fake */ override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo3(){}
|
||||
// Public signature: /B.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
/* fake */ override suspend fun foo3(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo4(){}
|
||||
// Public signature: /B.foo4|-6020267482604528061[0]
|
||||
// Public signature debug description: foo4(){}
|
||||
abstract /* fake */ override fun foo4(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo4(0:0){0§<kotlin.Any?>}
|
||||
// Public signature: /B.foo4|-2196272918061172213[0]
|
||||
// Public signature debug description: foo4(0:0){0§<kotlin.Any?>}
|
||||
/* fake */ override inline fun <reified T : Any?> foo4(t: T): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C
|
||||
// Public signature: /C|null[0]
|
||||
class C : A, Java1 {
|
||||
// CHECK:
|
||||
// Mangled name: C#<init>(){}
|
||||
// Public signature: /C.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo(){}
|
||||
// Public signature: /C.foo|-1041209573719867811[0]
|
||||
// Public signature debug description: foo(){}
|
||||
/* fake */ override inline fun foo(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo4(0:0){0§<kotlin.Any?>}
|
||||
// Public signature: /C.foo4|-2196272918061172213[0]
|
||||
// Public signature debug description: foo4(0:0){0§<kotlin.Any?>}
|
||||
/* fake */ override inline fun <reified T : Any?> foo4(t: T): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo2(){}
|
||||
// Public signature: /C.foo2|-9099664023625270343[0]
|
||||
// Public signature debug description: foo2(){}
|
||||
override fun foo2(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo3(){}
|
||||
// Public signature: /C.foo3|-7010019271447432065[0]
|
||||
// Public signature debug description: foo3(){}
|
||||
override suspend fun foo3(): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo4(){}
|
||||
// Public signature: /C.foo4|-6020267482604528061[0]
|
||||
// Public signature debug description: foo4(){}
|
||||
override fun foo4(): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #test(B;C){}
|
||||
// Public signature: /test|-6359441584037827810[0]
|
||||
// Public signature debug description: test(B;C){}
|
||||
suspend fun test(b: B, c: C): Unit
|
||||
Vendored
+316
@@ -0,0 +1,316 @@
|
||||
FILE fqName:<root> fileName:/1.kt
|
||||
CLASS CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.A [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:A modality:OPEN visibility:public superTypes:[kotlin.Any]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [noinline]
|
||||
BLOCK_BODY
|
||||
FUN name:foo2 visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [crossinline]
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:B modality:FINAL visibility:public superTypes:[<root>.Java1]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.B
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.B [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java1'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:B modality:FINAL visibility:public superTypes:[<root>.Java1]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [noinline]
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [crossinline]
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:C modality:ABSTRACT visibility:public superTypes:[<root>.Java1; <root>.Java2]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.C
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.C [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java1'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:C modality:ABSTRACT visibility:public superTypes:[<root>.Java1; <root>.Java2]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:ABSTRACT <> ($this:<root>.Java2, lambda:@[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public abstract fun foo (lambda: @[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?): kotlin.Unit declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
VALUE_PARAMETER name:lambda index:0 type:@[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [noinline]
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:ABSTRACT <> ($this:<root>.Java2, lambda:@[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public abstract fun foo2 (lambda: @[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?): kotlin.Unit declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
VALUE_PARAMETER name:lambda index:0 type:@[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [crossinline]
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
public open fun toString (): kotlin.String declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:D modality:FINAL visibility:public superTypes:[<root>.Java1; <root>.Java2]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.D
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.D [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.Java1'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:D modality:FINAL visibility:public superTypes:[<root>.Java1; <root>.Java2]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java1
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [noinline]
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.Java1
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [crossinline]
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java1
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.Java1
|
||||
public open fun toString (): kotlin.String declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo visibility:public modality:OPEN <> ($this:<root>.D, lambda:java.util.function.Function<kotlin.Int, kotlin.Int>?) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public abstract fun foo (lambda: @[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?): kotlin.Unit declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.D
|
||||
VALUE_PARAMETER name:lambda index:0 type:java.util.function.Function<kotlin.Int, kotlin.Int>?
|
||||
BLOCK_BODY
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.D, lambda:java.util.function.Function<kotlin.Int, kotlin.Int>?) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public abstract fun foo2 (lambda: @[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?): kotlin.Unit declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.D
|
||||
VALUE_PARAMETER name:lambda index:0 type:java.util.function.Function<kotlin.Int, kotlin.Int>?
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:E modality:ABSTRACT visibility:public superTypes:[<root>.A; <root>.Java2]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.E
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.E [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.A'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:E modality:ABSTRACT visibility:public superTypes:[<root>.A; <root>.Java2]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.A
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:ABSTRACT <> ($this:<root>.Java2, lambda:@[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public abstract fun foo (lambda: @[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?): kotlin.Unit declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
VALUE_PARAMETER name:lambda index:0 type:@[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.A
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [noinline]
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:ABSTRACT <> ($this:<root>.Java2, lambda:@[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?) returnType:kotlin.Unit [fake_override]
|
||||
overridden:
|
||||
public abstract fun foo2 (lambda: @[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?): kotlin.Unit declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.Java2
|
||||
VALUE_PARAMETER name:lambda index:0 type:@[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.A
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [crossinline]
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.A
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.A
|
||||
public open fun toString (): kotlin.String declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:F modality:FINAL visibility:public superTypes:[<root>.A; <root>.Java2]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.F
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.F [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.A'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:F modality:FINAL visibility:public superTypes:[<root>.A; <root>.Java2]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.A
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:foo visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.A
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [noinline]
|
||||
FUN FAKE_OVERRIDE name:foo2 visibility:public modality:FINAL <> ($this:<root>.A, lambda:kotlin.Function1<kotlin.Int, kotlin.Int>) returnType:kotlin.Unit [inline,fake_override]
|
||||
overridden:
|
||||
public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.A
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A
|
||||
VALUE_PARAMETER name:lambda index:0 type:kotlin.Function1<kotlin.Int, kotlin.Int> [crossinline]
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.A
|
||||
public open fun hashCode (): kotlin.Int declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in <root>.A
|
||||
public open fun toString (): kotlin.String declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:foo visibility:public modality:OPEN <> ($this:<root>.F, lambda:java.util.function.Function<kotlin.Int, kotlin.Int>?) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public abstract fun foo (lambda: @[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?): kotlin.Unit declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.F
|
||||
VALUE_PARAMETER name:lambda index:0 type:java.util.function.Function<kotlin.Int, kotlin.Int>?
|
||||
BLOCK_BODY
|
||||
FUN name:foo2 visibility:public modality:OPEN <> ($this:<root>.F, lambda:java.util.function.Function<kotlin.Int, kotlin.Int>?) returnType:kotlin.Unit
|
||||
overridden:
|
||||
public abstract fun foo2 (lambda: @[FlexibleNullability] java.util.function.Function<@[FlexibleNullability] kotlin.Int?, @[FlexibleNullability] kotlin.Int?>?): kotlin.Unit declared in <root>.Java2
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.F
|
||||
VALUE_PARAMETER name:lambda index:0 type:java.util.function.Function<kotlin.Int, kotlin.Int>?
|
||||
BLOCK_BODY
|
||||
FUN name:test visibility:public modality:FINAL <> (b:<root>.B, c:<root>.C, d:<root>.D, e:<root>.E, f:<root>.F) returnType:kotlin.Unit
|
||||
VALUE_PARAMETER name:b index:0 type:<root>.B
|
||||
VALUE_PARAMETER name:c index:1 type:<root>.C
|
||||
VALUE_PARAMETER name:d index:2 type:<root>.D
|
||||
VALUE_PARAMETER name:e index:3 type:<root>.E
|
||||
VALUE_PARAMETER name:f index:4 type:<root>.F
|
||||
BLOCK_BODY
|
||||
CALL 'public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
|
||||
VALUE_PARAMETER name:it index:0 type:kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
|
||||
CONST Int type=kotlin.Int value=1
|
||||
CALL 'public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.B' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'b: <root>.B declared in <root>.test' type=<root>.B origin=null
|
||||
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
|
||||
VALUE_PARAMETER name:it index:0 type:kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
|
||||
CONST Int type=kotlin.Int value=1
|
||||
CALL 'public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
|
||||
VALUE_PARAMETER name:it index:0 type:kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
|
||||
CONST Int type=kotlin.Int value=1
|
||||
CALL 'public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.C' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'c: <root>.C declared in <root>.test' type=<root>.C origin=null
|
||||
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
|
||||
VALUE_PARAMETER name:it index:0 type:kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
|
||||
CONST Int type=kotlin.Int value=1
|
||||
CALL 'public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.D' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'd: <root>.D declared in <root>.test' type=<root>.D origin=null
|
||||
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
|
||||
VALUE_PARAMETER name:it index:0 type:kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
|
||||
CONST Int type=kotlin.Int value=1
|
||||
CALL 'public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.D' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'd: <root>.D declared in <root>.test' type=<root>.D origin=null
|
||||
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
|
||||
VALUE_PARAMETER name:it index:0 type:kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
|
||||
CONST Int type=kotlin.Int value=1
|
||||
CALL 'public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.E' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'e: <root>.E declared in <root>.test' type=<root>.E origin=null
|
||||
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
|
||||
VALUE_PARAMETER name:it index:0 type:kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
|
||||
CONST Int type=kotlin.Int value=1
|
||||
CALL 'public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.E' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'e: <root>.E declared in <root>.test' type=<root>.E origin=null
|
||||
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
|
||||
VALUE_PARAMETER name:it index:0 type:kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
|
||||
CONST Int type=kotlin.Int value=1
|
||||
CALL 'public final fun foo (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.F' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'f: <root>.F declared in <root>.test' type=<root>.F origin=null
|
||||
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
|
||||
VALUE_PARAMETER name:it index:0 type:kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
|
||||
CONST Int type=kotlin.Int value=1
|
||||
CALL 'public final fun foo2 (lambda: kotlin.Function1<kotlin.Int, kotlin.Int>): kotlin.Unit declared in <root>.F' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'f: <root>.F declared in <root>.test' type=<root>.F origin=null
|
||||
lambda: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Int
|
||||
VALUE_PARAMETER name:it index:0 type:kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='local final fun <anonymous> (it: kotlin.Int): kotlin.Int declared in <root>.test'
|
||||
CONST Int type=kotlin.Int value=1
|
||||
Vendored
+51
@@ -0,0 +1,51 @@
|
||||
// FIR_IDENTICAL
|
||||
// TARGET_BACKEND: JVM
|
||||
// FULL_JDK
|
||||
|
||||
// FILE: Java1.java
|
||||
public class Java1 extends A { }
|
||||
|
||||
// FILE: Java2.java
|
||||
import java.util.function.Function;
|
||||
|
||||
public interface Java2 {
|
||||
public void foo(Function<Integer, Integer> lambda);
|
||||
public void foo2(Function<Integer, Integer> lambda);
|
||||
}
|
||||
|
||||
// FILE: 1.kt
|
||||
import java.util.function.Function
|
||||
|
||||
open class A {
|
||||
inline fun foo(noinline lambda: (Int) -> Int) {}
|
||||
inline fun foo2(crossinline lambda: (Int) -> Int) {}
|
||||
}
|
||||
|
||||
class B : Java1() //Kotlin ← Java ← Kotlin
|
||||
|
||||
abstract class C: Java1(), Java2 //Kotlin ← Java1, Java2 ← Kotlin2
|
||||
|
||||
class D: Java1(), Java2 { //Kotlin ← Java1, Java2 ← Kotlin2
|
||||
override fun foo(lambda: Function<Int, Int>?) { }
|
||||
override fun foo2(lambda: Function<Int, Int>?) { }
|
||||
}
|
||||
|
||||
abstract class E : A(), Java2 //Kotlin ← Java1, Kotlin2
|
||||
|
||||
class F : A(), Java2{
|
||||
override fun foo(lambda: Function<Int, Int>?) { }
|
||||
override fun foo2(lambda: Function<Int, Int>?) { }
|
||||
}
|
||||
|
||||
fun test(b: B, c: C, d: D, e: E, f: F) {
|
||||
b.foo { 1 }
|
||||
b.foo2 { 1 }
|
||||
c.foo { 1 }
|
||||
c.foo2 { 1 }
|
||||
d.foo { 1 }
|
||||
d.foo2 { 1 }
|
||||
e.foo { 1 }
|
||||
e.foo2 { 1 }
|
||||
f.foo { 1 }
|
||||
f.foo2 { 1 }
|
||||
}
|
||||
Vendored
+114
@@ -0,0 +1,114 @@
|
||||
open class A {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
inline fun foo(noinline lambda: Function1<Int, Int>) {
|
||||
}
|
||||
|
||||
inline fun foo2(crossinline lambda: Function1<Int, Int>) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class B : Java1 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java1*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
abstract class C : Java1, Java2 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java1*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class D : Java1, Java2 {
|
||||
constructor() /* primary */ {
|
||||
super/*Java1*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
override fun foo(lambda: Function<Int, Int>?) {
|
||||
}
|
||||
|
||||
override fun foo2(lambda: Function<Int, Int>?) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
abstract class E : A, Java2 {
|
||||
constructor() /* primary */ {
|
||||
super/*A*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class F : A, Java2 {
|
||||
constructor() /* primary */ {
|
||||
super/*A*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
override fun foo(lambda: Function<Int, Int>?) {
|
||||
}
|
||||
|
||||
override fun foo2(lambda: Function<Int, Int>?) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
fun test(b: B, c: C, d: D, e: E, f: F) {
|
||||
b.foo(lambda = local fun <anonymous>(it: Int): Int {
|
||||
return 1
|
||||
}
|
||||
)
|
||||
b.foo2(lambda = local fun <anonymous>(it: Int): Int {
|
||||
return 1
|
||||
}
|
||||
)
|
||||
c.foo(lambda = local fun <anonymous>(it: Int): Int {
|
||||
return 1
|
||||
}
|
||||
)
|
||||
c.foo2(lambda = local fun <anonymous>(it: Int): Int {
|
||||
return 1
|
||||
}
|
||||
)
|
||||
d.foo(lambda = local fun <anonymous>(it: Int): Int {
|
||||
return 1
|
||||
}
|
||||
)
|
||||
d.foo2(lambda = local fun <anonymous>(it: Int): Int {
|
||||
return 1
|
||||
}
|
||||
)
|
||||
e.foo(lambda = local fun <anonymous>(it: Int): Int {
|
||||
return 1
|
||||
}
|
||||
)
|
||||
e.foo2(lambda = local fun <anonymous>(it: Int): Int {
|
||||
return 1
|
||||
}
|
||||
)
|
||||
f.foo(lambda = local fun <anonymous>(it: Int): Int {
|
||||
return 1
|
||||
}
|
||||
)
|
||||
f.foo2(lambda = local fun <anonymous>(it: Int): Int {
|
||||
return 1
|
||||
}
|
||||
)
|
||||
}
|
||||
compiler/testData/ir/irText/fakeOverrides/methodmodifiers/kotlinFunParamModifiersOverride.sig.kt.txt
Vendored
+197
@@ -0,0 +1,197 @@
|
||||
// CHECK:
|
||||
// Mangled name: A
|
||||
// Public signature: /A|null[0]
|
||||
open class A {
|
||||
// CHECK:
|
||||
// Mangled name: A#<init>(){}
|
||||
// Public signature: /A.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
// Public signature: /A.foo|3353484914788718511[0]
|
||||
// Public signature debug description: foo(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
inline fun foo(noinline lambda: Function1<Int, Int>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: A#foo2(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
// Public signature: /A.foo2|-5242771116800942755[0]
|
||||
// Public signature debug description: foo2(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
inline fun foo2(crossinline lambda: Function1<Int, Int>): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B
|
||||
// Public signature: /B|null[0]
|
||||
class B : Java1 {
|
||||
// CHECK:
|
||||
// Mangled name: B#<init>(){}
|
||||
// Public signature: /B.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
// Public signature: /B.foo|3353484914788718511[0]
|
||||
// Public signature debug description: foo(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
/* fake */ override inline fun foo(noinline lambda: Function1<Int, Int>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: B#foo2(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
// Public signature: /B.foo2|-5242771116800942755[0]
|
||||
// Public signature debug description: foo2(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
/* fake */ override inline fun foo2(crossinline lambda: Function1<Int, Int>): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C
|
||||
// Public signature: /C|null[0]
|
||||
abstract class C : Java1, Java2 {
|
||||
// CHECK:
|
||||
// Mangled name: C#<init>(){}
|
||||
// Public signature: /C.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo(java.util.function.Function<kotlin.Int?,kotlin.Int?>?){}
|
||||
// Public signature: /C.foo|-2027646979113418157[0]
|
||||
// Public signature debug description: foo(java.util.function.Function<kotlin.Int?,kotlin.Int?>?){}
|
||||
abstract /* fake */ override fun foo(lambda: Function<Int?, Int?>?): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
// Public signature: /C.foo|3353484914788718511[0]
|
||||
// Public signature debug description: foo(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
/* fake */ override inline fun foo(noinline lambda: Function1<Int, Int>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo2(java.util.function.Function<kotlin.Int?,kotlin.Int?>?){}
|
||||
// Public signature: /C.foo2|6174587955000626338[0]
|
||||
// Public signature debug description: foo2(java.util.function.Function<kotlin.Int?,kotlin.Int?>?){}
|
||||
abstract /* fake */ override fun foo2(lambda: Function<Int?, Int?>?): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: C#foo2(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
// Public signature: /C.foo2|-5242771116800942755[0]
|
||||
// Public signature debug description: foo2(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
/* fake */ override inline fun foo2(crossinline lambda: Function1<Int, Int>): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: D
|
||||
// Public signature: /D|null[0]
|
||||
class D : Java1, Java2 {
|
||||
// CHECK:
|
||||
// Mangled name: D#<init>(){}
|
||||
// Public signature: /D.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: D#foo(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
// Public signature: /D.foo|3353484914788718511[0]
|
||||
// Public signature debug description: foo(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
/* fake */ override inline fun foo(noinline lambda: Function1<Int, Int>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: D#foo2(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
// Public signature: /D.foo2|-5242771116800942755[0]
|
||||
// Public signature debug description: foo2(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
/* fake */ override inline fun foo2(crossinline lambda: Function1<Int, Int>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: D#foo(java.util.function.Function<kotlin.Int,kotlin.Int>?){}
|
||||
// Public signature: /D.foo|8736849080221256301[0]
|
||||
// Public signature debug description: foo(java.util.function.Function<kotlin.Int,kotlin.Int>?){}
|
||||
override fun foo(lambda: Function<Int, Int>?): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: D#foo2(java.util.function.Function<kotlin.Int,kotlin.Int>?){}
|
||||
// Public signature: /D.foo2|6738159652500587505[0]
|
||||
// Public signature debug description: foo2(java.util.function.Function<kotlin.Int,kotlin.Int>?){}
|
||||
override fun foo2(lambda: Function<Int, Int>?): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: E
|
||||
// Public signature: /E|null[0]
|
||||
abstract class E : A, Java2 {
|
||||
// CHECK:
|
||||
// Mangled name: E#<init>(){}
|
||||
// Public signature: /E.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: E#foo(java.util.function.Function<kotlin.Int?,kotlin.Int?>?){}
|
||||
// Public signature: /E.foo|-2027646979113418157[0]
|
||||
// Public signature debug description: foo(java.util.function.Function<kotlin.Int?,kotlin.Int?>?){}
|
||||
abstract /* fake */ override fun foo(lambda: Function<Int?, Int?>?): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: E#foo(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
// Public signature: /E.foo|3353484914788718511[0]
|
||||
// Public signature debug description: foo(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
/* fake */ override inline fun foo(noinline lambda: Function1<Int, Int>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: E#foo2(java.util.function.Function<kotlin.Int?,kotlin.Int?>?){}
|
||||
// Public signature: /E.foo2|6174587955000626338[0]
|
||||
// Public signature debug description: foo2(java.util.function.Function<kotlin.Int?,kotlin.Int?>?){}
|
||||
abstract /* fake */ override fun foo2(lambda: Function<Int?, Int?>?): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: E#foo2(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
// Public signature: /E.foo2|-5242771116800942755[0]
|
||||
// Public signature debug description: foo2(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
/* fake */ override inline fun foo2(crossinline lambda: Function1<Int, Int>): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: F
|
||||
// Public signature: /F|null[0]
|
||||
class F : A, Java2 {
|
||||
// CHECK:
|
||||
// Mangled name: F#<init>(){}
|
||||
// Public signature: /F.<init>|-5645683436151566731[0]
|
||||
// Public signature debug description: <init>(){}
|
||||
constructor() /* primary */
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: F#foo(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
// Public signature: /F.foo|3353484914788718511[0]
|
||||
// Public signature debug description: foo(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
/* fake */ override inline fun foo(noinline lambda: Function1<Int, Int>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: F#foo2(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
// Public signature: /F.foo2|-5242771116800942755[0]
|
||||
// Public signature debug description: foo2(kotlin.Function1<kotlin.Int,kotlin.Int>){}
|
||||
/* fake */ override inline fun foo2(crossinline lambda: Function1<Int, Int>): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: F#foo(java.util.function.Function<kotlin.Int,kotlin.Int>?){}
|
||||
// Public signature: /F.foo|8736849080221256301[0]
|
||||
// Public signature debug description: foo(java.util.function.Function<kotlin.Int,kotlin.Int>?){}
|
||||
override fun foo(lambda: Function<Int, Int>?): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: F#foo2(java.util.function.Function<kotlin.Int,kotlin.Int>?){}
|
||||
// Public signature: /F.foo2|6738159652500587505[0]
|
||||
// Public signature debug description: foo2(java.util.function.Function<kotlin.Int,kotlin.Int>?){}
|
||||
override fun foo2(lambda: Function<Int, Int>?): Unit
|
||||
|
||||
}
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #test(B;C;D;E;F){}
|
||||
// Public signature: /test|-7946478318145452671[0]
|
||||
// Public signature debug description: test(B;C;D;E;F){}
|
||||
fun test(b: B, c: C, d: D, e: E, f: F): Unit
|
||||
Reference in New Issue
Block a user