21
21
// class: KotlinInterfaceWithProperty
22
22
// <init>(): C
23
23
// <init>(): JavaImplOfKotlinInterface
24
+ // <init>(kotlin.Int): JavaWithConstructor
25
+ // <init>(kotlin.Int): JavaWithConstructorInLib
24
26
// a
25
27
// aFromC
26
28
// aFromC
33
35
// class: Data
34
36
// class: Foo
35
37
// class: JavaImplOfKotlinInterface
38
+ // class: JavaWithConstructor
39
+ // class: JavaWithConstructorInLib
36
40
// component1(): kotlin.String
37
41
// contains(kotlin.Number): kotlin.Boolean
38
42
// containsAll(kotlin.collections.Collection): kotlin.Boolean
42
46
// equals(kotlin.Any): kotlin.Boolean
43
47
// equals(kotlin.Any): kotlin.Boolean
44
48
// equals(kotlin.Any): kotlin.Boolean
49
+ // equals(kotlin.Any): kotlin.Boolean
50
+ // equals(kotlin.Any): kotlin.Boolean
45
51
// forEach(java.util.function.Consumer): kotlin.Unit
46
52
// get(kotlin.Int): kotlin.Number
47
53
// hashCode(): kotlin.Int
48
54
// hashCode(): kotlin.Int
49
55
// hashCode(): kotlin.Int
50
56
// hashCode(): kotlin.Int
51
57
// hashCode(): kotlin.Int
58
+ // hashCode(): kotlin.Int
59
+ // hashCode(): kotlin.Int
52
60
// indexOf(kotlin.Number): kotlin.Int
53
61
// isEmpty(): kotlin.Boolean
54
62
// iterator(): kotlin.collections.Iterator
60
68
// lastIndexOf(kotlin.Number): kotlin.Int
61
69
// listIterator(): kotlin.collections.ListIterator
62
70
// listIterator(kotlin.Int): kotlin.collections.ListIterator
71
+ // method1(kotlin.Int): kotlin.Unit
72
+ // method1(kotlin.Int): kotlin.Unit
63
73
// parallelStream(): java.util.stream.Stream
64
74
// size
65
75
// spliterator(): java.util.Spliterator
70
80
// toString(): kotlin.String
71
81
// toString(): kotlin.String
72
82
// toString(): kotlin.String
83
+ // toString(): kotlin.String
84
+ // toString(): kotlin.String
73
85
// x
74
86
// x
75
87
// END
88
+ // MODULE: lib
89
+ // FILE: JavaWithConstructorInLib.java
90
+ class JavaWithConstructorInLib {
91
+ JavaWithConstructorInLib (int constructorArg1) {
92
+ }
93
+ void method1(int arg1) {}
94
+ }
95
+ // FILE: KotlinInLib.kt
96
+ class KotlinClassInLib (constructorArg1 : Int ) {
97
+ fun method1 (arg1 : Int ) {}
98
+ }
99
+ // MODULE: mainModule(lib)
76
100
// FILE: a.kt
77
101
abstract class Foo : C (), List<out Number> {
78
102
override fun javaListFun (): List <Int > {
@@ -126,4 +150,10 @@ class JavaImplOfKotlinInterface implements KotlinInterfaceWithProperty {
126
150
}
127
151
public void setX(int value) {
128
152
}
153
+ }
154
+ // FILE: JavaWithConstructor.java
155
+ class JavaWithConstructor {
156
+ JavaWithConstructor (int constructorArg1) {
157
+ }
158
+ void method1(int arg1) {}
129
159
}
0 commit comments