Replace "jet" package name with "kotlin" in testData
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import jet.Any
|
||||
import jet.Any
|
||||
import kotlin.Any
|
||||
import kotlin.Any
|
||||
|
||||
fun foo(p: Int??) {
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ fun A.baz() {}
|
||||
|
||||
fun box(): String {
|
||||
val f = "${::foo}"
|
||||
if (f != "kotlin.reflect.KFunctionImpl1<java.lang.String, jet.Unit>") return "Fail foo: $f"
|
||||
if (f != "kotlin.reflect.KFunctionImpl1<java.lang.String, kotlin.Unit>") return "Fail foo: $f"
|
||||
|
||||
val nameOfA = (A() as java.lang.Object).getClass().getName()
|
||||
|
||||
@@ -17,7 +17,7 @@ fun box(): String {
|
||||
if (g != "kotlin.reflect.KMemberFunctionImpl0<$nameOfA, java.lang.String>") return "Fail bar: $g"
|
||||
|
||||
val h = "${A::baz}"
|
||||
if (h != "kotlin.reflect.KExtensionFunctionImpl0<$nameOfA, jet.Unit>") return "Fail baz: $h"
|
||||
if (h != "kotlin.reflect.KExtensionFunctionImpl0<$nameOfA, kotlin.Unit>") return "Fail baz: $h"
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
class Works() : jet.Function0<Object> {
|
||||
class Works() : Function0<Object> {
|
||||
public override fun invoke():Object {
|
||||
return "Works" as Object
|
||||
}
|
||||
}
|
||||
class Broken() : jet.Function0<String> {
|
||||
class Broken() : Function0<String> {
|
||||
public override fun invoke():String {
|
||||
return "Broken"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
var index = 0
|
||||
|
||||
val iterator = object : Iterator<Int> {
|
||||
trait IterableIterator : Iterator<Int> {
|
||||
fun iterator(): Iterator<Int> = this
|
||||
}
|
||||
|
||||
val iterator = object : IterableIterator {
|
||||
override fun hasNext() = index < 5
|
||||
override fun next() = index++
|
||||
}
|
||||
|
||||
@@ -6,22 +6,22 @@ fun check(expected: String, obj: Any?) {
|
||||
|
||||
|
||||
fun box(): String {
|
||||
check("kotlin.FunctionImpl0<jet.Unit>")
|
||||
check("kotlin.FunctionImpl0<kotlin.Unit>")
|
||||
{ () : Unit -> }
|
||||
check("kotlin.FunctionImpl0<java.lang.Integer>")
|
||||
{ () : Int -> 42 }
|
||||
check("kotlin.FunctionImpl1<java.lang.String, java.lang.Long>")
|
||||
{ (s: String) : Long -> 42.toLong() }
|
||||
check("kotlin.FunctionImpl2<java.lang.Integer, java.lang.Integer, jet.Unit>")
|
||||
check("kotlin.FunctionImpl2<java.lang.Integer, java.lang.Integer, kotlin.Unit>")
|
||||
{ (x: Int, y: Int) : Unit -> }
|
||||
|
||||
check("kotlin.ExtensionFunctionImpl0<java.lang.Integer, jet.Unit>")
|
||||
check("kotlin.ExtensionFunctionImpl0<java.lang.Integer, kotlin.Unit>")
|
||||
{ Int.() : Unit -> }
|
||||
check("kotlin.ExtensionFunctionImpl0<jet.Unit, java.lang.Integer>")
|
||||
check("kotlin.ExtensionFunctionImpl0<kotlin.Unit, java.lang.Integer>")
|
||||
{ Unit.() : Int -> 42 }
|
||||
check("kotlin.ExtensionFunctionImpl1<java.lang.String, java.lang.String, java.lang.Long>")
|
||||
{ String.(s: String) : Long -> 42.toLong() }
|
||||
check("kotlin.ExtensionFunctionImpl2<java.lang.Integer, java.lang.Integer, java.lang.Integer, jet.Unit>")
|
||||
check("kotlin.ExtensionFunctionImpl2<java.lang.Integer, java.lang.Integer, java.lang.Integer, kotlin.Unit>")
|
||||
{ Int.(x: Int, y: Int) : Unit -> }
|
||||
|
||||
return "OK"
|
||||
|
||||
@@ -5,7 +5,7 @@ fun box(): String {
|
||||
return if (test(1) == 3) "OK" else "fail"
|
||||
}
|
||||
|
||||
class Cached<K, V>(private val generate: (K)->V): jet.Function1<K, V> {
|
||||
class Cached<K, V>(private val generate: (K)->V): Function1<K, V> {
|
||||
val store = java.util.HashMap<K, V>()
|
||||
|
||||
// Everything works just fine if 'invoke' method is renamed to, for example, 'get'
|
||||
|
||||
@@ -19,14 +19,14 @@ val extensionFun = { Any.() : Unit -> }
|
||||
val extensionWithArgFun = { Long.(x: Any) : Date -> Date() }
|
||||
|
||||
fun box(): String {
|
||||
assertGenericSuper("kotlin.FunctionImpl0<jet.Unit>", unitFun)
|
||||
assertGenericSuper("kotlin.FunctionImpl0<kotlin.Unit>", unitFun)
|
||||
assertGenericSuper("kotlin.FunctionImpl0<java.lang.Integer>", intFun)
|
||||
assertGenericSuper("kotlin.FunctionImpl1<java.lang.String, jet.Unit>", stringParamFun)
|
||||
assertGenericSuper("kotlin.FunctionImpl1<java.lang.String, kotlin.Unit>", stringParamFun)
|
||||
assertGenericSuper("kotlin.FunctionImpl1<java.util.List<? extends java.lang.String>, java.util.List<? extends java.lang.String>>", listFun)
|
||||
assertGenericSuper("kotlin.FunctionImpl1<java.util.List<java.lang.Double>, java.util.List<java.lang.Integer>>", mutableListFun)
|
||||
assertGenericSuper("kotlin.FunctionImpl1<java.lang.Comparable<? super java.lang.String>, jet.Unit>", funWithIn)
|
||||
assertGenericSuper("kotlin.FunctionImpl1<java.lang.Comparable<? super java.lang.String>, kotlin.Unit>", funWithIn)
|
||||
|
||||
assertGenericSuper("kotlin.ExtensionFunctionImpl0<java.lang.Object, jet.Unit>", extensionFun)
|
||||
assertGenericSuper("kotlin.ExtensionFunctionImpl0<java.lang.Object, kotlin.Unit>", extensionFun)
|
||||
assertGenericSuper("kotlin.ExtensionFunctionImpl1<java.lang.Long, java.lang.Object, java.util.Date>", extensionWithArgFun)
|
||||
|
||||
return "OK"
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
var currentAccountId: Int? by SessionAccessor()
|
||||
class SessionAccessor<T> {
|
||||
fun get(o : Nothing?, desc: jet.PropertyMetadata): T {
|
||||
fun get(o : Nothing?, desc: PropertyMetadata): T {
|
||||
return null as T
|
||||
}
|
||||
|
||||
fun set(o : Nothing?, desc: jet.PropertyMetadata, value: T) {
|
||||
fun set(o : Nothing?, desc: PropertyMetadata, value: T) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
fun box(): String {
|
||||
return unrelatedUpperBounds.id("OK" as java.lang.String)!! as jet.String
|
||||
return unrelatedUpperBounds.id("OK" as java.lang.String)!! as kotlin.String
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ class Super {
|
||||
}
|
||||
|
||||
class Sub extends Super {
|
||||
void foo(jet.Function0<jet.Unit> r) {
|
||||
void foo(kotlin.Function0<kotlin.Unit> r) {
|
||||
lastCalled = "sub";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -95,8 +95,8 @@ fun LinkedList<Int>.sum(f : (Int, Int) -> Int) : Int {
|
||||
}
|
||||
|
||||
fun <T> List<T>.backwards() : Iterable<T> = object : Iterable<T> {
|
||||
override fun iterator() : jet.Iterator<T> =
|
||||
object : jet.Iterator<T> {
|
||||
override fun iterator() : Iterator<T> =
|
||||
object : Iterator<T> {
|
||||
var current = size()
|
||||
override fun next() : T = get(--current)
|
||||
override fun hasNext() : Boolean = current > 0
|
||||
|
||||
@@ -5,8 +5,8 @@ fun box(): String {
|
||||
val a: Any? = null
|
||||
a as Array<String>
|
||||
}
|
||||
catch(e: TypeCastException) {
|
||||
if (e.getMessage() == "jet.Any? cannot be cast to jet.Array<jet.String>") {
|
||||
catch (e: TypeCastException) {
|
||||
if (e.getMessage() == "kotlin.Any? cannot be cast to kotlin.Array<kotlin.String>") {
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// expected: rv: sky color is blue
|
||||
// param: what: jet.String: sky
|
||||
// param: color: jet.String: blue
|
||||
// param: what: kotlin.String: sky
|
||||
// param: color: kotlin.String: blue
|
||||
|
||||
"$what color is $color"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// param: args: jet.Array<jet.String>: three little words
|
||||
// param: args: kotlin.Array<kotlin.String>: three little words
|
||||
// expected: rv: little
|
||||
|
||||
args[1]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// param: x: jet.Int: 10
|
||||
// param: x: kotlin.Int: 10
|
||||
|
||||
fun addX(y: Int) = x + y
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// expected: rv: 19
|
||||
// param: aa: jet.Long: 17
|
||||
// param: bb: jet.Int: 2
|
||||
// param: aa: kotlin.Long: 17
|
||||
// param: bb: kotlin.Int: 2
|
||||
|
||||
aa + bb
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
internal final annotation class Anno : jet.Annotation {
|
||||
internal final annotation class Anno : kotlin.Annotation {
|
||||
public constructor Anno(/*0*/ e: [ERROR : test.E])
|
||||
internal final val e: [ERROR : test.E]
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ SUBTYPE T Int
|
||||
SUPERTYPE T String
|
||||
|
||||
type parameter bounds:
|
||||
T <: jet.Int(SPECIAL), >: jet.String(SPECIAL)
|
||||
T <: kotlin.Int(SPECIAL), >: kotlin.String(SPECIAL)
|
||||
status:
|
||||
-hasConflictingConstraints: true
|
||||
-hasContradiction: true
|
||||
|
||||
@@ -4,7 +4,7 @@ SUBTYPE T Int
|
||||
SUPERTYPE T Int
|
||||
|
||||
type parameter bounds:
|
||||
T <: jet.Int(SPECIAL), >: jet.Int(SPECIAL)
|
||||
T <: kotlin.Int(SPECIAL), >: kotlin.Int(SPECIAL)
|
||||
status:
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: false
|
||||
@@ -15,4 +15,4 @@ status:
|
||||
-isSuccessful: true
|
||||
|
||||
result:
|
||||
T=jet.Int
|
||||
T=kotlin.Int
|
||||
|
||||
@@ -4,7 +4,7 @@ SUBTYPE T Int
|
||||
SUBTYPE T String weak
|
||||
|
||||
type parameter bounds:
|
||||
T <: jet.Int(SPECIAL), <: jet.String(TYPE_BOUND_POSITION(0))
|
||||
T <: kotlin.Int(SPECIAL), <: kotlin.String(TYPE_BOUND_POSITION(0))
|
||||
status:
|
||||
-hasConflictingConstraints: true
|
||||
-hasContradiction: true
|
||||
|
||||
@@ -4,7 +4,7 @@ SUPERTYPE T IntegerValueType(1000)
|
||||
SUBTYPE T Byte
|
||||
|
||||
type parameter bounds:
|
||||
T >: IntegerValueType(1000)(SPECIAL), <: jet.Byte(SPECIAL)
|
||||
T >: IntegerValueType(1000)(SPECIAL), <: kotlin.Byte(SPECIAL)
|
||||
status:
|
||||
-hasConflictingConstraints: true
|
||||
-hasContradiction: true
|
||||
|
||||
@@ -15,4 +15,4 @@ status:
|
||||
-isSuccessful: true
|
||||
|
||||
result:
|
||||
T=jet.Long
|
||||
T=kotlin.Long
|
||||
|
||||
@@ -4,7 +4,7 @@ SUPERTYPE T IntegerValueType(1)
|
||||
SUBTYPE T Any
|
||||
|
||||
type parameter bounds:
|
||||
T >: IntegerValueType(1)(SPECIAL), <: jet.Any(SPECIAL)
|
||||
T >: IntegerValueType(1)(SPECIAL), <: kotlin.Any(SPECIAL)
|
||||
status:
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: false
|
||||
@@ -15,4 +15,4 @@ status:
|
||||
-isSuccessful: true
|
||||
|
||||
result:
|
||||
T=jet.Int
|
||||
T=kotlin.Int
|
||||
|
||||
@@ -4,7 +4,7 @@ SUPERTYPE T IntegerValueType(1)
|
||||
SUPERTYPE T String
|
||||
|
||||
type parameter bounds:
|
||||
T >: IntegerValueType(1)(SPECIAL), >: jet.String(SPECIAL)
|
||||
T >: IntegerValueType(1)(SPECIAL), >: kotlin.String(SPECIAL)
|
||||
status:
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: false
|
||||
@@ -15,4 +15,4 @@ status:
|
||||
-isSuccessful: true
|
||||
|
||||
result:
|
||||
T=jet.Comparable<out jet.Any?>
|
||||
T=kotlin.Comparable<out kotlin.Any?>
|
||||
|
||||
@@ -15,4 +15,4 @@ status:
|
||||
-isSuccessful: true
|
||||
|
||||
result:
|
||||
T=jet.Int
|
||||
T=kotlin.Int
|
||||
|
||||
@@ -4,7 +4,7 @@ SUPERTYPE T IntegerValueType(1)
|
||||
SUBTYPE T Byte
|
||||
|
||||
type parameter bounds:
|
||||
T >: IntegerValueType(1)(SPECIAL), <: jet.Byte(SPECIAL)
|
||||
T >: IntegerValueType(1)(SPECIAL), <: kotlin.Byte(SPECIAL)
|
||||
status:
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: false
|
||||
@@ -15,4 +15,4 @@ status:
|
||||
-isSuccessful: true
|
||||
|
||||
result:
|
||||
T=jet.Byte
|
||||
T=kotlin.Byte
|
||||
|
||||
@@ -14,4 +14,4 @@ status:
|
||||
-isSuccessful: true
|
||||
|
||||
result:
|
||||
T=jet.Int
|
||||
T=kotlin.Int
|
||||
|
||||
@@ -4,7 +4,7 @@ SUPERTYPE T IntegerValueType(1)
|
||||
SUBTYPE T Short
|
||||
|
||||
type parameter bounds:
|
||||
T >: IntegerValueType(1)(SPECIAL), <: jet.Short(SPECIAL)
|
||||
T >: IntegerValueType(1)(SPECIAL), <: kotlin.Short(SPECIAL)
|
||||
status:
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: false
|
||||
@@ -15,4 +15,4 @@ status:
|
||||
-isSuccessful: true
|
||||
|
||||
result:
|
||||
T=jet.Short
|
||||
T=kotlin.Short
|
||||
|
||||
@@ -3,8 +3,8 @@ VARIABLES T P
|
||||
SUBTYPE T Int
|
||||
|
||||
type parameter bounds:
|
||||
T <: jet.Int(SPECIAL)
|
||||
P <: ???(TYPE_BOUND_POSITION(1)), <: jet.Int(COMPOUND_CONSTRAINT_POSITION)
|
||||
T <: kotlin.Int(SPECIAL)
|
||||
P <: ???(TYPE_BOUND_POSITION(1)), <: kotlin.Int(COMPOUND_CONSTRAINT_POSITION)
|
||||
status:
|
||||
-hasConflictingConstraints: false
|
||||
-hasContradiction: false
|
||||
@@ -15,6 +15,6 @@ status:
|
||||
-isSuccessful: true
|
||||
|
||||
result:
|
||||
T=jet.Int
|
||||
P=jet.Int
|
||||
T=kotlin.Int
|
||||
P=kotlin.Int
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import <!PLATFORM_CLASS_MAPPED_TO_KOTLIN!>java.lang.Comparable<!> as Comparable
|
||||
|
||||
fun f(c: <!PLATFORM_CLASS_MAPPED_TO_KOTLIN!>Comparable<*><!>) {
|
||||
<!TYPE_MISMATCH!>c<!>: jet.Comparable<*>
|
||||
<!TYPE_MISMATCH!>c<!>: kotlin.Comparable<*>
|
||||
c: <!PLATFORM_CLASS_MAPPED_TO_KOTLIN!>java.lang.Comparable<*><!>
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
//FILE:a.kt
|
||||
//+JDK
|
||||
package a
|
||||
import jet.Map.*
|
||||
import kotlin.Map.*
|
||||
|
||||
fun foo(b : Entry<String, String>) = b
|
||||
|
||||
@@ -9,7 +9,7 @@ fun foo(b : Entry<String, String>) = b
|
||||
//+JDK
|
||||
package b
|
||||
|
||||
import jet.Map.Entry
|
||||
import kotlin.Map.Entry
|
||||
fun bar(b : Entry<String, String>) = b
|
||||
|
||||
//FILE:c.kt
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
package test
|
||||
|
||||
internal final annotation class A : jet.Annotation {
|
||||
/*primary*/ public constructor A(/*0*/ a: jet.Int = ..., /*1*/ b: jet.String = ..., /*2*/ c: jet.String)
|
||||
internal final val a: jet.Int
|
||||
internal final val b: jet.String
|
||||
internal final val c: jet.String
|
||||
internal final annotation class A : kotlin.Annotation {
|
||||
/*primary*/ public constructor A(/*0*/ a: kotlin.Int = ..., /*1*/ b: kotlin.String = ..., /*2*/ c: kotlin.String)
|
||||
internal final val a: kotlin.Int
|
||||
internal final val b: kotlin.String
|
||||
internal final val c: kotlin.String
|
||||
}
|
||||
|
||||
test.A(a = IntegerValueType(12): IntegerValueType(12), c = "Hello": jet.String) internal object SomeObject {
|
||||
test.A(a = IntegerValueType(12): IntegerValueType(12), c = "Hello": kotlin.String) internal object SomeObject {
|
||||
/*primary*/ private constructor SomeObject()
|
||||
|
||||
public class object <class-object-for-SomeObject> : test.SomeObject {
|
||||
|
||||
@@ -3,4 +3,4 @@ package test
|
||||
trait TheTrait {
|
||||
class object {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ internal final class B {
|
||||
|
||||
internal final class B {
|
||||
/*primary*/ public constructor B()
|
||||
internal final fun foo(/*0*/ b: test.B.B.C): jet.Unit
|
||||
internal final fun foo(/*0*/ b: test.B.B.C): kotlin.Unit
|
||||
|
||||
internal final class C {
|
||||
/*primary*/ public constructor C()
|
||||
|
||||
@@ -6,4 +6,4 @@ open class A {
|
||||
|
||||
class B : A() {
|
||||
override fun foo(a: E) {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,10 @@ package test
|
||||
|
||||
internal open class A {
|
||||
/*primary*/ public constructor A()
|
||||
internal open fun foo(/*0*/ a: [ERROR : E]): jet.Unit
|
||||
internal open fun foo(/*0*/ a: [ERROR : E]): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class B : test.A {
|
||||
/*primary*/ public constructor B()
|
||||
internal open override /*1*/ fun foo(/*0*/ a: [ERROR : E]): jet.Unit
|
||||
internal open override /*1*/ fun foo(/*0*/ a: [ERROR : E]): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@ package test
|
||||
|
||||
internal val some: test.SomeObject
|
||||
|
||||
internal final annotation class BadAnnotation : jet.Annotation {
|
||||
/*primary*/ public constructor BadAnnotation(/*0*/ s: jet.String)
|
||||
internal final annotation class BadAnnotation : kotlin.Annotation {
|
||||
/*primary*/ public constructor BadAnnotation(/*0*/ s: kotlin.String)
|
||||
}
|
||||
|
||||
test.BadAnnotation(s = IntegerValueType(1): IntegerValueType(1)) internal object SomeObject {
|
||||
|
||||
@@ -4,4 +4,4 @@ class Some {
|
||||
TestAnnotation class object {
|
||||
annotation class TestAnnotation
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ internal final class Some {
|
||||
test.Some.TestAnnotation() internal class object <class-object-for-Some> {
|
||||
/*primary*/ private constructor <class-object-for-Some>()
|
||||
|
||||
internal final annotation class TestAnnotation : jet.Annotation {
|
||||
internal final annotation class TestAnnotation : kotlin.Annotation {
|
||||
/*primary*/ public constructor TestAnnotation()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,4 +6,4 @@ fun testFun(a : Int) = 12
|
||||
class TestSome<P> {
|
||||
class object : ToResolve<P>({testFun(it)}) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
internal fun testFun(/*0*/ a: jet.Int): jet.Int
|
||||
internal fun testFun(/*0*/ a: kotlin.Int): kotlin.Int
|
||||
|
||||
internal final class TestSome</*0*/ P> {
|
||||
/*primary*/ public constructor TestSome</*0*/ P>()
|
||||
@@ -11,5 +11,5 @@ internal final class TestSome</*0*/ P> {
|
||||
}
|
||||
|
||||
internal open class ToResolve</*0*/ SomeClass> {
|
||||
/*primary*/ public constructor ToResolve</*0*/ SomeClass>(/*0*/ f: (jet.Int) -> jet.Int)
|
||||
/*primary*/ public constructor ToResolve</*0*/ SomeClass>(/*0*/ f: (kotlin.Int) -> kotlin.Int)
|
||||
}
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
package test
|
||||
|
||||
internal final enum class Test : jet.Enum<test.Test> {
|
||||
/*primary*/ private constructor Test(/*0*/ a: jet.Int)
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
internal final enum class Test : kotlin.Enum<test.Test> {
|
||||
/*primary*/ private constructor Test(/*0*/ a: kotlin.Int)
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
|
||||
public class object <class-object-for-Test> {
|
||||
/*primary*/ private constructor <class-object-for-Test>()
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: jet.String): test.Test
|
||||
public final /*synthesized*/ fun values(): jet.Array<test.Test>
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.Test
|
||||
public final /*synthesized*/ fun values(): kotlin.Array<test.Test>
|
||||
}
|
||||
|
||||
public enum entry A : test.Test {
|
||||
/*primary*/ private constructor A()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
|
||||
public class object <class-object-for-A> : test.Test.A {
|
||||
/*primary*/ private constructor <class-object-for-A>()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
}
|
||||
}
|
||||
|
||||
public enum entry B : test.Test {
|
||||
/*primary*/ private constructor B()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
|
||||
public class object <class-object-for-B> : test.Test.B {
|
||||
/*primary*/ private constructor <class-object-for-B>()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,4 +12,4 @@ package testOther
|
||||
import test.normal
|
||||
|
||||
val some: Int = 1
|
||||
val fromImported: Int = normal
|
||||
val fromImported: Int = normal
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
internal val fromImported: jet.Int
|
||||
internal val normal: jet.Int
|
||||
internal val fromImported: kotlin.Int
|
||||
internal val normal: kotlin.Int
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package test
|
||||
|
||||
fun <T> foo(t : T) : T {}
|
||||
fun <T> foo(t : T) : T {}
|
||||
|
||||
+1
-1
@@ -10,4 +10,4 @@ val inferTypeFromImportedFun = testFun()
|
||||
package testOther
|
||||
|
||||
open class A
|
||||
fun testFun() = 1
|
||||
fun testFun() = 1
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
internal val inferTypeFromImportedFun: jet.Int
|
||||
internal val inferTypeFromImportedFun: kotlin.Int
|
||||
|
||||
internal final class B : testOther.A {
|
||||
/*primary*/ public constructor B()
|
||||
|
||||
@@ -5,11 +5,11 @@ internal final class A {
|
||||
|
||||
internal object B {
|
||||
/*primary*/ private constructor B()
|
||||
internal final fun foo(/*0*/ a: jet.Int): jet.String
|
||||
internal final fun foo(/*0*/ a: kotlin.Int): kotlin.String
|
||||
|
||||
public class object <class-object-for-B> : test.A.B {
|
||||
/*primary*/ private constructor <class-object-for-B>()
|
||||
internal final override /*1*/ /*fake_override*/ fun foo(/*0*/ a: jet.Int): jet.String
|
||||
internal final override /*1*/ /*fake_override*/ fun foo(/*0*/ a: kotlin.Int): kotlin.String
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,4 +4,4 @@ object SomeObject {
|
||||
fun test(a: Int) : Int {
|
||||
return 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,10 @@ package test
|
||||
|
||||
internal object SomeObject {
|
||||
/*primary*/ private constructor SomeObject()
|
||||
internal final fun test(/*0*/ a: jet.Int): jet.Int
|
||||
internal final fun test(/*0*/ a: kotlin.Int): kotlin.Int
|
||||
|
||||
public class object <class-object-for-SomeObject> : test.SomeObject {
|
||||
/*primary*/ private constructor <class-object-for-SomeObject>()
|
||||
internal final override /*1*/ /*fake_override*/ fun test(/*0*/ a: jet.Int): jet.Int
|
||||
internal final override /*1*/ /*fake_override*/ fun test(/*0*/ a: kotlin.Int): kotlin.Int
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
object Bar {
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -6,4 +6,4 @@ class Test {
|
||||
class object {
|
||||
val a = test() // Check if resolver will be able to infer type of a variable
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,10 +2,10 @@ package test
|
||||
|
||||
internal final class Test {
|
||||
/*primary*/ public constructor Test()
|
||||
internal final fun test(): jet.Int
|
||||
internal final fun test(): kotlin.Int
|
||||
|
||||
internal class object <class-object-for-Test> {
|
||||
/*primary*/ private constructor <class-object-for-Test>()
|
||||
internal final val a: jet.Int
|
||||
internal final val a: kotlin.Int
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,4 +7,4 @@ class SubBase: Base()
|
||||
// FILE: SameClassNameResolveRoot.kt
|
||||
|
||||
open class Base
|
||||
class SubBase: Base()
|
||||
class SubBase: Base()
|
||||
|
||||
@@ -5,23 +5,23 @@ internal final class A {
|
||||
}
|
||||
|
||||
package test.p {
|
||||
internal fun foo(): jet.Unit
|
||||
internal fun foo(/*0*/ a: test.p.C): jet.Unit
|
||||
internal fun foo(): kotlin.Unit
|
||||
internal fun foo(/*0*/ a: test.p.C): kotlin.Unit
|
||||
|
||||
internal final class C {
|
||||
/*primary*/ public constructor C()
|
||||
internal final fun f(): jet.Unit
|
||||
internal final fun f(): kotlin.Unit
|
||||
}
|
||||
|
||||
internal open class G</*0*/ T> {
|
||||
/*primary*/ public constructor G</*0*/ T>()
|
||||
internal final fun a(): jet.Unit
|
||||
internal final fun a(): kotlin.Unit
|
||||
internal open fun f(): T
|
||||
}
|
||||
|
||||
internal final class G2</*0*/ E> : test.p.G<E> {
|
||||
/*primary*/ public constructor G2</*0*/ E>()
|
||||
internal final override /*1*/ /*fake_override*/ fun a(): jet.Unit
|
||||
internal final override /*1*/ /*fake_override*/ fun a(): kotlin.Unit
|
||||
internal open override /*1*/ fun f(): E
|
||||
internal final fun g(): E
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
internal final class CompositeIterator</*0*/ T> {
|
||||
/*primary*/ public constructor CompositeIterator</*0*/ T>(/*0*/ vararg iterators: java.util.Iterator<T> /*jet.Array<java.util.Iterator<T>>*/)
|
||||
internal final val iteratorsIter: jet.Iterator<java.util.Iterator<T>>
|
||||
/*primary*/ public constructor CompositeIterator</*0*/ T>(/*0*/ vararg iterators: java.util.Iterator<T> /*kotlin.Array<java.util.Iterator<T>>*/)
|
||||
internal final val iteratorsIter: kotlin.Iterator<java.util.Iterator<T>>
|
||||
}
|
||||
|
||||
@@ -1,47 +1,47 @@
|
||||
package test
|
||||
|
||||
public final enum class EnumMembers : jet.Enum<test.EnumMembers> {
|
||||
private constructor EnumMembers(/*0*/ p0: jet.Boolean)
|
||||
public final val isFirst: jet.Boolean
|
||||
public open fun first(): jet.Boolean
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final enum class EnumMembers : kotlin.Enum<test.EnumMembers> {
|
||||
private constructor EnumMembers(/*0*/ p0: kotlin.Boolean)
|
||||
public final val isFirst: kotlin.Boolean
|
||||
public open fun first(): kotlin.Boolean
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
|
||||
public class object <class-object-for-EnumMembers> {
|
||||
private constructor <class-object-for-EnumMembers>()
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: jet.String): test.EnumMembers
|
||||
public final /*synthesized*/ fun values(): jet.Array<test.EnumMembers>
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.EnumMembers
|
||||
public final /*synthesized*/ fun values(): kotlin.Array<test.EnumMembers>
|
||||
}
|
||||
|
||||
public enum entry FIRST : test.EnumMembers {
|
||||
private constructor FIRST()
|
||||
public final override /*1*/ /*fake_override*/ val isFirst: jet.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun first(): jet.Boolean
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ val isFirst: kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun first(): kotlin.Boolean
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
|
||||
public class object <class-object-for-FIRST> : test.EnumMembers.FIRST {
|
||||
private constructor <class-object-for-FIRST>()
|
||||
public final override /*1*/ /*fake_override*/ val isFirst: jet.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun first(): jet.Boolean
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ val isFirst: kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun first(): kotlin.Boolean
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
}
|
||||
}
|
||||
|
||||
public enum entry SECOND : test.EnumMembers {
|
||||
private constructor SECOND()
|
||||
public final override /*1*/ /*fake_override*/ val isFirst: jet.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun first(): jet.Boolean
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ val isFirst: kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun first(): kotlin.Boolean
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
|
||||
public class object <class-object-for-SECOND> : test.EnumMembers.SECOND {
|
||||
private constructor <class-object-for-SECOND>()
|
||||
public final override /*1*/ /*fake_override*/ val isFirst: jet.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun first(): jet.Boolean
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ val isFirst: kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun first(): kotlin.Boolean
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
package test
|
||||
|
||||
public final enum class JavaEnum : jet.Enum<test.JavaEnum> {
|
||||
public final enum class JavaEnum : kotlin.Enum<test.JavaEnum> {
|
||||
private constructor JavaEnum()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
|
||||
public class object <class-object-for-JavaEnum> {
|
||||
private constructor <class-object-for-JavaEnum>()
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: jet.String): test.JavaEnum
|
||||
public final /*synthesized*/ fun values(): jet.Array<test.JavaEnum>
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.JavaEnum
|
||||
public final /*synthesized*/ fun values(): kotlin.Array<test.JavaEnum>
|
||||
}
|
||||
|
||||
public enum entry ANOTHER : test.JavaEnum {
|
||||
private constructor ANOTHER()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
|
||||
public class object <class-object-for-ANOTHER> : test.JavaEnum.ANOTHER {
|
||||
private constructor <class-object-for-ANOTHER>()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
}
|
||||
}
|
||||
|
||||
public enum entry ENTRY : test.JavaEnum {
|
||||
private constructor ENTRY()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
|
||||
public class object <class-object-for-ENTRY> : test.JavaEnum.ENTRY {
|
||||
private constructor <class-object-for-ENTRY>()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,21 +5,21 @@ public open class OverrideMethod : java.lang.Object {
|
||||
|
||||
public/*package*/ open inner class Base : test.OverrideMethod.SuperBase {
|
||||
public/*package*/ constructor Base()
|
||||
public/*package*/ open fun bar(): jet.Unit
|
||||
public/*package*/ open fun foo(/*0*/ p0: jet.String?): jet.String?
|
||||
public/*package*/ open override /*1*/ /*fake_override*/ fun quux(/*0*/ p0: jet.Int): jet.Unit
|
||||
public/*package*/ open fun bar(): kotlin.Unit
|
||||
public/*package*/ open fun foo(/*0*/ p0: kotlin.String?): kotlin.String?
|
||||
public/*package*/ open override /*1*/ /*fake_override*/ fun quux(/*0*/ p0: kotlin.Int): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open inner class Derived : test.OverrideMethod.Base {
|
||||
public/*package*/ constructor Derived()
|
||||
public/*package*/ open override /*1*/ /*fake_override*/ fun bar(): jet.Unit
|
||||
public/*package*/ open fun baz(): jet.Unit
|
||||
public/*package*/ open override /*1*/ fun foo(/*0*/ p0: jet.String?): jet.String?
|
||||
public/*package*/ open override /*1*/ /*fake_override*/ fun quux(/*0*/ p0: jet.Int): jet.Unit
|
||||
public/*package*/ open override /*1*/ /*fake_override*/ fun bar(): kotlin.Unit
|
||||
public/*package*/ open fun baz(): kotlin.Unit
|
||||
public/*package*/ open override /*1*/ fun foo(/*0*/ p0: kotlin.String?): kotlin.String?
|
||||
public/*package*/ open override /*1*/ /*fake_override*/ fun quux(/*0*/ p0: kotlin.Int): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open inner class SuperBase : java.lang.Object {
|
||||
public/*package*/ constructor SuperBase()
|
||||
public/*package*/ open fun quux(/*0*/ p0: jet.Int): jet.Unit
|
||||
public/*package*/ open fun quux(/*0*/ p0: kotlin.Int): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class JFrame : awt.Frame {
|
||||
public constructor JFrame()
|
||||
protected/*protected and package*/ final var accessibleContext: jet.String?
|
||||
protected/*protected and package*/ final var accessibleContext: kotlin.String?
|
||||
}
|
||||
|
||||
@@ -3,13 +3,13 @@ package test
|
||||
public trait RawTypeWithUpperBound : java.lang.Object {
|
||||
|
||||
public trait Bar : java.lang.Object {
|
||||
public abstract fun f(/*0*/ p0: test.RawTypeWithUpperBound.Foo<out jet.CharSequence?>?): jet.Unit
|
||||
public abstract fun f(/*0*/ p0: test.RawTypeWithUpperBound.Foo<out kotlin.CharSequence?>?): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Foo</*0*/ T : jet.CharSequence?> : java.lang.Object {
|
||||
public trait Foo</*0*/ T : kotlin.CharSequence?> : java.lang.Object {
|
||||
}
|
||||
}
|
||||
|
||||
package test.RawTypeWithUpperBound {
|
||||
public /*synthesized*/ fun Bar(/*0*/ function: (test.RawTypeWithUpperBound.Foo<out jet.CharSequence?>?) -> jet.Unit): test.RawTypeWithUpperBound.Bar
|
||||
public /*synthesized*/ fun Bar(/*0*/ function: (test.RawTypeWithUpperBound.Foo<out kotlin.CharSequence?>?) -> kotlin.Unit): test.RawTypeWithUpperBound.Bar
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public trait RawUpperBound</*0*/ T : test.RawUpperBound<out jet.Any?>?> : java.lang.Object {
|
||||
public trait RawUpperBound</*0*/ T : test.RawUpperBound<out kotlin.Any?>?> : java.lang.Object {
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public trait RecursiveRawUpperBound</*0*/ T : test.RecursiveRawUpperBound<out jet.Any?>?> : java.lang.Object {
|
||||
public trait RecursiveRawUpperBound</*0*/ T : test.RecursiveRawUpperBound<out kotlin.Any?>?> : java.lang.Object {
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public trait RecursiveWildcardUpperBound</*0*/ T : test.RecursiveWildcardUpperBound<out jet.Any?>?> : java.lang.Object {
|
||||
public trait RecursiveWildcardUpperBound</*0*/ T : test.RecursiveWildcardUpperBound<out kotlin.Any?>?> : java.lang.Object {
|
||||
}
|
||||
|
||||
@@ -2,45 +2,45 @@ package test
|
||||
|
||||
public trait AnnotationInParam : java.lang.Object {
|
||||
|
||||
test.AnnotationInParam.MyAnnotationWithParam(value = test.AnnotationInParam.MyAnnotation(value = "test": jet.String): test.AnnotationInParam.MyAnnotation) public open class A : java.lang.Object {
|
||||
test.AnnotationInParam.MyAnnotationWithParam(value = test.AnnotationInParam.MyAnnotation(value = "test": kotlin.String): test.AnnotationInParam.MyAnnotation) public open class A : java.lang.Object {
|
||||
public constructor A()
|
||||
}
|
||||
|
||||
test.AnnotationInParam.MyAnnotationWithParam2(value = test.AnnotationInParam.MyAnnotation2(value = {"test", "test2"}: jet.Array<jet.String>): test.AnnotationInParam.MyAnnotation2) public open class B : java.lang.Object {
|
||||
test.AnnotationInParam.MyAnnotationWithParam2(value = test.AnnotationInParam.MyAnnotation2(value = {"test", "test2"}: kotlin.Array<kotlin.String>): test.AnnotationInParam.MyAnnotation2) public open class B : java.lang.Object {
|
||||
public constructor B()
|
||||
}
|
||||
|
||||
test.AnnotationInParam.MyAnnotationWithParam3(value = test.AnnotationInParam.MyAnnotation3(first = "f": jet.String, second = "s": jet.String): test.AnnotationInParam.MyAnnotation3) public open class C : java.lang.Object {
|
||||
test.AnnotationInParam.MyAnnotationWithParam3(value = test.AnnotationInParam.MyAnnotation3(first = "f": kotlin.String, second = "s": kotlin.String): test.AnnotationInParam.MyAnnotation3) public open class C : java.lang.Object {
|
||||
public constructor C()
|
||||
}
|
||||
|
||||
public final annotation class MyAnnotation : jet.Annotation {
|
||||
public constructor MyAnnotation(/*0*/ value: jet.String)
|
||||
public abstract fun value(): jet.String
|
||||
public final annotation class MyAnnotation : kotlin.Annotation {
|
||||
public constructor MyAnnotation(/*0*/ value: kotlin.String)
|
||||
public abstract fun value(): kotlin.String
|
||||
}
|
||||
|
||||
public final annotation class MyAnnotation2 : jet.Annotation {
|
||||
public constructor MyAnnotation2(/*0*/ vararg value: jet.String /*jet.Array<jet.String>*/)
|
||||
public abstract fun value(): jet.Array<jet.String>
|
||||
public final annotation class MyAnnotation2 : kotlin.Annotation {
|
||||
public constructor MyAnnotation2(/*0*/ vararg value: kotlin.String /*kotlin.Array<kotlin.String>*/)
|
||||
public abstract fun value(): kotlin.Array<kotlin.String>
|
||||
}
|
||||
|
||||
public final annotation class MyAnnotation3 : jet.Annotation {
|
||||
public constructor MyAnnotation3(/*0*/ first: jet.String, /*1*/ second: jet.String)
|
||||
public abstract fun first(): jet.String
|
||||
public abstract fun second(): jet.String
|
||||
public final annotation class MyAnnotation3 : kotlin.Annotation {
|
||||
public constructor MyAnnotation3(/*0*/ first: kotlin.String, /*1*/ second: kotlin.String)
|
||||
public abstract fun first(): kotlin.String
|
||||
public abstract fun second(): kotlin.String
|
||||
}
|
||||
|
||||
public final annotation class MyAnnotationWithParam : jet.Annotation {
|
||||
public final annotation class MyAnnotationWithParam : kotlin.Annotation {
|
||||
public constructor MyAnnotationWithParam(/*0*/ value: test.AnnotationInParam.MyAnnotation)
|
||||
public abstract fun value(): test.AnnotationInParam.MyAnnotation
|
||||
}
|
||||
|
||||
public final annotation class MyAnnotationWithParam2 : jet.Annotation {
|
||||
public final annotation class MyAnnotationWithParam2 : kotlin.Annotation {
|
||||
public constructor MyAnnotationWithParam2(/*0*/ value: test.AnnotationInParam.MyAnnotation2)
|
||||
public abstract fun value(): test.AnnotationInParam.MyAnnotation2
|
||||
}
|
||||
|
||||
public final annotation class MyAnnotationWithParam3 : jet.Annotation {
|
||||
public final annotation class MyAnnotationWithParam3 : kotlin.Annotation {
|
||||
public constructor MyAnnotationWithParam3(/*0*/ value: test.AnnotationInParam.MyAnnotation3)
|
||||
public abstract fun value(): test.AnnotationInParam.MyAnnotation3
|
||||
}
|
||||
|
||||
@@ -3,12 +3,12 @@ package test
|
||||
public open class ArithmeticExpressionInParam : java.lang.Object {
|
||||
public constructor ArithmeticExpressionInParam()
|
||||
|
||||
public final annotation class Anno : jet.Annotation {
|
||||
public constructor Anno(/*0*/ value: jet.Int)
|
||||
public abstract fun value(): jet.Int
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
public constructor Anno(/*0*/ value: kotlin.Int)
|
||||
public abstract fun value(): kotlin.Int
|
||||
}
|
||||
|
||||
test.ArithmeticExpressionInParam.Anno(value = 42.toInt(): jet.Int) public open class Class : java.lang.Object {
|
||||
test.ArithmeticExpressionInParam.Anno(value = 42.toInt(): kotlin.Int) public open class Class : java.lang.Object {
|
||||
public constructor Class()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@ package test
|
||||
|
||||
public trait ArrayOfEnumInParam : java.lang.Object {
|
||||
|
||||
java.lang.annotation.Target(value = {ElementType.FIELD, ElementType.CONSTRUCTOR}: jet.Array<java.lang.annotation.ElementType>) public final annotation class targetAnnotation : jet.Annotation {
|
||||
public constructor targetAnnotation(/*0*/ value: jet.String)
|
||||
public abstract fun value(): jet.String
|
||||
java.lang.annotation.Target(value = {ElementType.FIELD, ElementType.CONSTRUCTOR}: kotlin.Array<java.lang.annotation.ElementType>) public final annotation class targetAnnotation : kotlin.Annotation {
|
||||
public constructor targetAnnotation(/*0*/ value: kotlin.String)
|
||||
public abstract fun value(): kotlin.String
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,12 +2,12 @@ package test
|
||||
|
||||
public trait ArrayOfStringInParam : java.lang.Object {
|
||||
|
||||
test.ArrayOfStringInParam.MyAnnotation(value = {"a", "b", "c"}: jet.Array<jet.String>) public open class A : java.lang.Object {
|
||||
test.ArrayOfStringInParam.MyAnnotation(value = {"a", "b", "c"}: kotlin.Array<kotlin.String>) public open class A : java.lang.Object {
|
||||
public constructor A()
|
||||
}
|
||||
|
||||
public final annotation class MyAnnotation : jet.Annotation {
|
||||
public constructor MyAnnotation(/*0*/ vararg value: jet.String /*jet.Array<jet.String>*/)
|
||||
public abstract fun value(): jet.Array<jet.String>
|
||||
public final annotation class MyAnnotation : kotlin.Annotation {
|
||||
public constructor MyAnnotation(/*0*/ vararg value: kotlin.String /*kotlin.Array<kotlin.String>*/)
|
||||
public abstract fun value(): kotlin.Array<kotlin.String>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,12 +3,12 @@ package test
|
||||
public open class ClassObjectArrayInParam : java.lang.Object {
|
||||
public constructor ClassObjectArrayInParam()
|
||||
|
||||
public final annotation class Anno : jet.Annotation {
|
||||
public constructor Anno(/*0*/ vararg value: java.lang.Class<out jet.Any?> /*jet.Array<java.lang.Class<out jet.Any?>>*/)
|
||||
public abstract fun value(): jet.Array<java.lang.Class<out jet.Any?>>
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
public constructor Anno(/*0*/ vararg value: java.lang.Class<out kotlin.Any?> /*kotlin.Array<java.lang.Class<out kotlin.Any?>>*/)
|
||||
public abstract fun value(): kotlin.Array<java.lang.Class<out kotlin.Any?>>
|
||||
}
|
||||
|
||||
test.ClassObjectArrayInParam.Anno(value = {test.ClassObjectArrayInParam.class, test.ClassObjectArrayInParam.Nested.class, jet.String.class}: jet.Array<java.lang.Class<out jet.Any?>>) public open class Nested : java.lang.Object {
|
||||
test.ClassObjectArrayInParam.Anno(value = {test.ClassObjectArrayInParam.class, test.ClassObjectArrayInParam.Nested.class, kotlin.String.class}: kotlin.Array<java.lang.Class<out kotlin.Any?>>) public open class Nested : java.lang.Object {
|
||||
public constructor Nested()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,9 +3,9 @@ package test
|
||||
public open class ClassObjectInParam : java.lang.Object {
|
||||
public constructor ClassObjectInParam()
|
||||
|
||||
public final annotation class Anno : jet.Annotation {
|
||||
public constructor Anno(/*0*/ value: java.lang.Class<out jet.Any?>)
|
||||
public abstract fun value(): java.lang.Class<out jet.Any?>
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
public constructor Anno(/*0*/ value: java.lang.Class<out kotlin.Any?>)
|
||||
public abstract fun value(): java.lang.Class<out kotlin.Any?>
|
||||
}
|
||||
|
||||
test.ClassObjectInParam.Anno(value = test.ClassObjectInParam.class: java.lang.Class<test.ClassObjectInParam>) public open class Nested : java.lang.Object {
|
||||
|
||||
@@ -2,31 +2,31 @@ package test
|
||||
|
||||
public trait CustomAnnotation : java.lang.Object {
|
||||
|
||||
public final annotation class MyAnnotation : jet.Annotation {
|
||||
public final annotation class MyAnnotation : kotlin.Annotation {
|
||||
public constructor MyAnnotation(/*0*/ value: test.CustomAnnotation.MyEnum)
|
||||
public abstract fun value(): test.CustomAnnotation.MyEnum
|
||||
}
|
||||
|
||||
public final enum class MyEnum : jet.Enum<test.CustomAnnotation.MyEnum> {
|
||||
public final enum class MyEnum : kotlin.Enum<test.CustomAnnotation.MyEnum> {
|
||||
private constructor MyEnum()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
|
||||
public class object <class-object-for-MyEnum> {
|
||||
private constructor <class-object-for-MyEnum>()
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: jet.String): test.CustomAnnotation.MyEnum
|
||||
public final /*synthesized*/ fun values(): jet.Array<test.CustomAnnotation.MyEnum>
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.CustomAnnotation.MyEnum
|
||||
public final /*synthesized*/ fun values(): kotlin.Array<test.CustomAnnotation.MyEnum>
|
||||
}
|
||||
|
||||
public enum entry ONE : test.CustomAnnotation.MyEnum {
|
||||
private constructor ONE()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
|
||||
public class object <class-object-for-ONE> : test.CustomAnnotation.MyEnum.ONE {
|
||||
private constructor <class-object-for-ONE>()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -2,13 +2,13 @@ package test
|
||||
|
||||
public trait CustomAnnotationWithDefaultParameter : java.lang.Object {
|
||||
|
||||
public final annotation class MyAnnotation : jet.Annotation {
|
||||
public constructor MyAnnotation(/*0*/ first: jet.String, /*1*/ second: jet.String = ...)
|
||||
public abstract fun first(): jet.String
|
||||
public abstract fun second(): jet.String
|
||||
public final annotation class MyAnnotation : kotlin.Annotation {
|
||||
public constructor MyAnnotation(/*0*/ first: kotlin.String, /*1*/ second: kotlin.String = ...)
|
||||
public abstract fun first(): kotlin.String
|
||||
public abstract fun second(): kotlin.String
|
||||
}
|
||||
|
||||
test.CustomAnnotationWithDefaultParameter.MyAnnotation(first = "f": jet.String, second = "s": jet.String) public open class MyTest : java.lang.Object {
|
||||
test.CustomAnnotationWithDefaultParameter.MyAnnotation(first = "f": kotlin.String, second = "s": kotlin.String) public open class MyTest : java.lang.Object {
|
||||
public constructor MyTest()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,12 +2,12 @@ package test
|
||||
|
||||
public trait EmptyArrayInParam : java.lang.Object {
|
||||
|
||||
test.EmptyArrayInParam.MyAnnotation(value = {}: jet.Array<jet.String>) public open class A : java.lang.Object {
|
||||
test.EmptyArrayInParam.MyAnnotation(value = {}: kotlin.Array<kotlin.String>) public open class A : java.lang.Object {
|
||||
public constructor A()
|
||||
}
|
||||
|
||||
public final annotation class MyAnnotation : jet.Annotation {
|
||||
public constructor MyAnnotation(/*0*/ vararg value: jet.String /*jet.Array<jet.String>*/)
|
||||
public abstract fun value(): jet.Array<jet.String>
|
||||
public final annotation class MyAnnotation : kotlin.Annotation {
|
||||
public constructor MyAnnotation(/*0*/ vararg value: kotlin.String /*kotlin.Array<kotlin.String>*/)
|
||||
public abstract fun value(): kotlin.Array<kotlin.String>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@ package test
|
||||
|
||||
public trait EnumInParam : java.lang.Object {
|
||||
|
||||
java.lang.annotation.Retention(value = RetentionPolicy.RUNTIME: java.lang.annotation.RetentionPolicy) public final annotation class RetentionAnnotation : jet.Annotation {
|
||||
public constructor RetentionAnnotation(/*0*/ value: jet.String)
|
||||
public abstract fun value(): jet.String
|
||||
java.lang.annotation.Retention(value = RetentionPolicy.RUNTIME: java.lang.annotation.RetentionPolicy) public final annotation class RetentionAnnotation : kotlin.Annotation {
|
||||
public constructor RetentionAnnotation(/*0*/ value: kotlin.String)
|
||||
public abstract fun value(): kotlin.String
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,17 +2,17 @@ package test
|
||||
|
||||
public trait PrimitiveValueInParam : java.lang.Object {
|
||||
|
||||
test.PrimitiveValueInParam.Ann(bool = true: jet.Boolean, d = 1.0.toDouble(): jet.Double, f = 1.0.toFloat(): jet.Float, i = 1.toInt(): jet.Int, l = 1.toLong(): jet.Long, str = "str": jet.String) public open class A : java.lang.Object {
|
||||
test.PrimitiveValueInParam.Ann(bool = true: kotlin.Boolean, d = 1.0.toDouble(): kotlin.Double, f = 1.0.toFloat(): kotlin.Float, i = 1.toInt(): kotlin.Int, l = 1.toLong(): kotlin.Long, str = "str": kotlin.String) public open class A : java.lang.Object {
|
||||
public constructor A()
|
||||
}
|
||||
|
||||
public final annotation class Ann : jet.Annotation {
|
||||
public constructor Ann(/*0*/ i: jet.Int, /*1*/ l: jet.Long, /*2*/ d: jet.Double, /*3*/ f: jet.Float, /*4*/ bool: jet.Boolean, /*5*/ str: jet.String)
|
||||
public abstract fun bool(): jet.Boolean
|
||||
public abstract fun d(): jet.Double
|
||||
public abstract fun f(): jet.Float
|
||||
public abstract fun i(): jet.Int
|
||||
public abstract fun l(): jet.Long
|
||||
public abstract fun str(): jet.String
|
||||
public final annotation class Ann : kotlin.Annotation {
|
||||
public constructor Ann(/*0*/ i: kotlin.Int, /*1*/ l: kotlin.Long, /*2*/ d: kotlin.Double, /*3*/ f: kotlin.Float, /*4*/ bool: kotlin.Boolean, /*5*/ str: kotlin.String)
|
||||
public abstract fun bool(): kotlin.Boolean
|
||||
public abstract fun d(): kotlin.Double
|
||||
public abstract fun f(): kotlin.Float
|
||||
public abstract fun i(): kotlin.Int
|
||||
public abstract fun l(): kotlin.Long
|
||||
public abstract fun str(): kotlin.String
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,12 +2,12 @@ package test
|
||||
|
||||
public trait RecursiveAnnotation : java.lang.Object {
|
||||
|
||||
test.RecursiveAnnotation.B(value = test.RecursiveAnnotation.A(value = "test": jet.String): test.RecursiveAnnotation.A) public final annotation class A : jet.Annotation {
|
||||
public constructor A(/*0*/ value: jet.String)
|
||||
public abstract fun value(): jet.String
|
||||
test.RecursiveAnnotation.B(value = test.RecursiveAnnotation.A(value = "test": kotlin.String): test.RecursiveAnnotation.A) public final annotation class A : kotlin.Annotation {
|
||||
public constructor A(/*0*/ value: kotlin.String)
|
||||
public abstract fun value(): kotlin.String
|
||||
}
|
||||
|
||||
test.RecursiveAnnotation.B(value = test.RecursiveAnnotation.A(value = "test": jet.String): test.RecursiveAnnotation.A) public final annotation class B : jet.Annotation {
|
||||
test.RecursiveAnnotation.B(value = test.RecursiveAnnotation.A(value = "test": kotlin.String): test.RecursiveAnnotation.A) public final annotation class B : kotlin.Annotation {
|
||||
public constructor B(/*0*/ value: test.RecursiveAnnotation.A)
|
||||
public abstract fun value(): test.RecursiveAnnotation.A
|
||||
}
|
||||
|
||||
@@ -2,13 +2,13 @@ package test
|
||||
|
||||
public trait RecursiveAnnotation2 : java.lang.Object {
|
||||
|
||||
public final annotation class A : jet.Annotation {
|
||||
public final annotation class A : kotlin.Annotation {
|
||||
public constructor A(/*0*/ value: test.RecursiveAnnotation2.B)
|
||||
public abstract fun value(): test.RecursiveAnnotation2.B
|
||||
}
|
||||
|
||||
test.RecursiveAnnotation2.A(value = test.RecursiveAnnotation2.B(value = "test": jet.String): test.RecursiveAnnotation2.B) public final annotation class B : jet.Annotation {
|
||||
public constructor B(/*0*/ value: jet.String)
|
||||
public abstract fun value(): jet.String
|
||||
test.RecursiveAnnotation2.A(value = test.RecursiveAnnotation2.B(value = "test": kotlin.String): test.RecursiveAnnotation2.B) public final annotation class B : kotlin.Annotation {
|
||||
public constructor B(/*0*/ value: kotlin.String)
|
||||
public abstract fun value(): kotlin.String
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,12 +2,12 @@ package test
|
||||
|
||||
public trait StringConcatenationInParam : java.lang.Object {
|
||||
|
||||
public final annotation class Anno : jet.Annotation {
|
||||
public constructor Anno(/*0*/ value: jet.String)
|
||||
public abstract fun value(): jet.String
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
public constructor Anno(/*0*/ value: kotlin.String)
|
||||
public abstract fun value(): kotlin.String
|
||||
}
|
||||
|
||||
test.StringConcatenationInParam.Anno(value = "hello": jet.String) public open class Class : java.lang.Object {
|
||||
test.StringConcatenationInParam.Anno(value = "hello": kotlin.String) public open class Class : java.lang.Object {
|
||||
public constructor Class()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,16 +2,16 @@ package test
|
||||
|
||||
public trait StringConstantInParam : java.lang.Object {
|
||||
|
||||
public final annotation class Anno : jet.Annotation {
|
||||
public constructor Anno(/*0*/ value: jet.String)
|
||||
public abstract fun value(): jet.String
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
public constructor Anno(/*0*/ value: kotlin.String)
|
||||
public abstract fun value(): kotlin.String
|
||||
}
|
||||
|
||||
test.StringConstantInParam.Anno(value = "hello": jet.String) public open class Class : java.lang.Object {
|
||||
test.StringConstantInParam.Anno(value = "hello": kotlin.String) public open class Class : java.lang.Object {
|
||||
public constructor Class()
|
||||
}
|
||||
}
|
||||
|
||||
package test.StringConstantInParam {
|
||||
public val HEL: jet.String
|
||||
public val HEL: kotlin.String
|
||||
}
|
||||
|
||||
@@ -2,12 +2,12 @@ package test
|
||||
|
||||
public trait StringInParam : java.lang.Object {
|
||||
|
||||
public final annotation class Anno : jet.Annotation {
|
||||
public constructor Anno(/*0*/ value: jet.String)
|
||||
public abstract fun value(): jet.String
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
public constructor Anno(/*0*/ value: kotlin.String)
|
||||
public abstract fun value(): kotlin.String
|
||||
}
|
||||
|
||||
test.StringInParam.Anno(value = "hello": jet.String) public open class Class : java.lang.Object {
|
||||
test.StringInParam.Anno(value = "hello": kotlin.String) public open class Class : java.lang.Object {
|
||||
public constructor Class()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class ProtectedPackageFun : java.lang.Object {
|
||||
public constructor ProtectedPackageFun()
|
||||
protected/*protected and package*/ open fun foo(): jet.Unit
|
||||
protected/*protected and package*/ open fun foo(): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class ProtectedPackageProperty : java.lang.Object {
|
||||
public constructor ProtectedPackageProperty()
|
||||
protected/*protected and package*/ final var foo: jet.Int
|
||||
protected/*protected and package*/ final var foo: kotlin.Int
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
public /*synthesized*/ fun </*0*/ T> Comparator(/*0*/ function: (T?, T?) -> jet.Int): test.Comparator<T>
|
||||
public /*synthesized*/ fun </*0*/ T> Comparator(/*0*/ function: (T?, T?) -> kotlin.Int): test.Comparator<T>
|
||||
|
||||
public trait Comparator</*0*/ T> : java.lang.Object {
|
||||
public abstract fun compare(/*0*/ p0: T?, /*1*/ p1: T?): jet.Int
|
||||
public abstract fun compare(/*0*/ p0: T?, /*1*/ p1: T?): kotlin.Int
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
public /*synthesized*/ fun FilenameFilter(/*0*/ function: (java.io.File?, jet.String?) -> jet.Boolean): test.FilenameFilter
|
||||
public /*synthesized*/ fun FilenameFilter(/*0*/ function: (java.io.File?, kotlin.String?) -> kotlin.Boolean): test.FilenameFilter
|
||||
|
||||
public trait FilenameFilter : java.lang.Object {
|
||||
public abstract fun accept(/*0*/ p0: java.io.File?, /*1*/ p1: jet.String?): jet.Boolean
|
||||
public abstract fun accept(/*0*/ p0: java.io.File?, /*1*/ p1: kotlin.String?): kotlin.Boolean
|
||||
}
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
public /*synthesized*/ fun </*0*/ A : jet.Comparable<A>?, /*1*/ B : jet.List<A>?> GenericInterfaceParametersWithBounds(/*0*/ function: (jet.Array<out A>?, B?) -> jet.Unit): test.GenericInterfaceParametersWithBounds<A, B> where A : java.lang.Cloneable?
|
||||
public /*synthesized*/ fun </*0*/ A : kotlin.Comparable<A>?, /*1*/ B : kotlin.List<A>?> GenericInterfaceParametersWithBounds(/*0*/ function: (kotlin.Array<out A>?, B?) -> kotlin.Unit): test.GenericInterfaceParametersWithBounds<A, B> where A : java.lang.Cloneable?
|
||||
|
||||
public trait GenericInterfaceParametersWithBounds</*0*/ A : jet.Comparable<A>?, /*1*/ B : jet.List<A>?> : java.lang.Object where A : java.lang.Cloneable? {
|
||||
public abstract fun method(/*0*/ p0: jet.Array<out A>?, /*1*/ p1: B?): jet.Unit
|
||||
public trait GenericInterfaceParametersWithBounds</*0*/ A : kotlin.Comparable<A>?, /*1*/ B : kotlin.List<A>?> : java.lang.Object where A : java.lang.Cloneable? {
|
||||
public abstract fun method(/*0*/ p0: kotlin.Array<out A>?, /*1*/ p1: B?): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public trait GenericMethodParameters : java.lang.Object {
|
||||
public abstract fun </*0*/ A : jet.CharSequence?, /*1*/ B : jet.List<A>?> method(/*0*/ p0: jet.Array<out A>?, /*1*/ p1: B?): jet.Unit
|
||||
public abstract fun </*0*/ A : kotlin.CharSequence?, /*1*/ B : kotlin.List<A>?> method(/*0*/ p0: kotlin.Array<out A>?, /*1*/ p1: B?): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -5,27 +5,27 @@ public trait Nested : java.lang.Object {
|
||||
public trait Deeper1 : java.lang.Object {
|
||||
|
||||
public trait Runnable : java.lang.Object {
|
||||
public abstract fun run(): jet.Unit
|
||||
public abstract fun run2(): jet.Unit
|
||||
public abstract fun run(): kotlin.Unit
|
||||
public abstract fun run2(): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
public trait Deeper2 : java.lang.Object {
|
||||
|
||||
public trait Runnable : java.lang.Object {
|
||||
public abstract fun run(): jet.Unit
|
||||
public abstract fun run(): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
public trait Runnable : java.lang.Object {
|
||||
public abstract fun run(): jet.Unit
|
||||
public abstract fun run(): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
package test.Nested {
|
||||
public /*synthesized*/ fun Runnable(/*0*/ function: () -> jet.Unit): test.Nested.Runnable
|
||||
public /*synthesized*/ fun Runnable(/*0*/ function: () -> kotlin.Unit): test.Nested.Runnable
|
||||
|
||||
package test.Nested.Deeper2 {
|
||||
public /*synthesized*/ fun Runnable(/*0*/ function: () -> jet.Unit): test.Nested.Deeper2.Runnable
|
||||
public /*synthesized*/ fun Runnable(/*0*/ function: () -> kotlin.Unit): test.Nested.Deeper2.Runnable
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
public /*synthesized*/ fun Runnable(/*0*/ function: () -> jet.Unit): test.Runnable
|
||||
public /*synthesized*/ fun Runnable(/*0*/ function: () -> kotlin.Unit): test.Runnable
|
||||
|
||||
public trait Runnable : java.lang.Object {
|
||||
public abstract fun run(): jet.Unit
|
||||
public abstract fun run(): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -2,12 +2,12 @@ package test
|
||||
|
||||
public trait SamSubinterfaceOfTwo : java.lang.Object {
|
||||
|
||||
public trait Sub : test.SamSubinterfaceOfTwo.Super1, test.SamSubinterfaceOfTwo.Super2<jet.String> {
|
||||
public abstract override /*2*/ /*fake_override*/ fun f(): jet.String?
|
||||
public trait Sub : test.SamSubinterfaceOfTwo.Super1, test.SamSubinterfaceOfTwo.Super2<kotlin.String> {
|
||||
public abstract override /*2*/ /*fake_override*/ fun f(): kotlin.String?
|
||||
}
|
||||
|
||||
public trait Super1 : java.lang.Object {
|
||||
public abstract fun f(): jet.CharSequence?
|
||||
public abstract fun f(): kotlin.CharSequence?
|
||||
}
|
||||
|
||||
public trait Super2</*0*/ T> : java.lang.Object {
|
||||
@@ -16,7 +16,7 @@ public trait SamSubinterfaceOfTwo : java.lang.Object {
|
||||
}
|
||||
|
||||
package test.SamSubinterfaceOfTwo {
|
||||
public /*synthesized*/ fun Sub(/*0*/ function: () -> jet.String?): test.SamSubinterfaceOfTwo.Sub
|
||||
public /*synthesized*/ fun Super1(/*0*/ function: () -> jet.CharSequence?): test.SamSubinterfaceOfTwo.Super1
|
||||
public /*synthesized*/ fun Sub(/*0*/ function: () -> kotlin.String?): test.SamSubinterfaceOfTwo.Sub
|
||||
public /*synthesized*/ fun Super1(/*0*/ function: () -> kotlin.CharSequence?): test.SamSubinterfaceOfTwo.Super1
|
||||
public /*synthesized*/ fun </*0*/ T> Super2(/*0*/ function: () -> T?): test.SamSubinterfaceOfTwo.Super2<T>
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
public /*synthesized*/ fun SamSubinterfaceOverridding(/*0*/ function: () -> jet.Unit): test.SamSubinterfaceOverridding
|
||||
public /*synthesized*/ fun SamSubinterfaceOverridding(/*0*/ function: () -> kotlin.Unit): test.SamSubinterfaceOverridding
|
||||
|
||||
public trait SamSubinterfaceOverridding : java.lang.Runnable {
|
||||
public abstract override /*1*/ fun run(): jet.Unit
|
||||
public abstract override /*1*/ fun run(): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
public /*synthesized*/ fun SubstitutedSamInterface(/*0*/ function: (jet.String, jet.String) -> jet.Int): test.SubstitutedSamInterface
|
||||
public /*synthesized*/ fun SubstitutedSamInterface(/*0*/ function: (kotlin.String, kotlin.String) -> kotlin.Int): test.SubstitutedSamInterface
|
||||
|
||||
public trait SubstitutedSamInterface : java.util.Comparator<jet.String> {
|
||||
public abstract override /*1*/ /*fake_override*/ fun compare(/*0*/ p0: jet.String, /*1*/ p1: jet.String): jet.Int
|
||||
public trait SubstitutedSamInterface : java.util.Comparator<kotlin.String> {
|
||||
public abstract override /*1*/ /*fake_override*/ fun compare(/*0*/ p0: kotlin.String, /*1*/ p1: kotlin.String): kotlin.Int
|
||||
}
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
public /*synthesized*/ fun SubstitutedSamInterfaceSubclassOfBuiltin(/*0*/ function: (test.SubstitutedSamInterfaceSubclassOfBuiltin) -> jet.Int): test.SubstitutedSamInterfaceSubclassOfBuiltin
|
||||
public /*synthesized*/ fun SubstitutedSamInterfaceSubclassOfBuiltin(/*0*/ function: (test.SubstitutedSamInterfaceSubclassOfBuiltin) -> kotlin.Int): test.SubstitutedSamInterfaceSubclassOfBuiltin
|
||||
|
||||
public trait SubstitutedSamInterfaceSubclassOfBuiltin : jet.Comparable<test.SubstitutedSamInterfaceSubclassOfBuiltin> {
|
||||
public abstract override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.SubstitutedSamInterfaceSubclassOfBuiltin): jet.Int
|
||||
public trait SubstitutedSamInterfaceSubclassOfBuiltin : kotlin.Comparable<test.SubstitutedSamInterfaceSubclassOfBuiltin> {
|
||||
public abstract override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.SubstitutedSamInterfaceSubclassOfBuiltin): kotlin.Int
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
public /*synthesized*/ fun VarargParameter(/*0*/ function: (jet.Array<jet.String?>) -> jet.Unit): test.VarargParameter
|
||||
public /*synthesized*/ fun VarargParameter(/*0*/ function: (kotlin.Array<kotlin.String?>) -> kotlin.Unit): test.VarargParameter
|
||||
|
||||
public trait VarargParameter : java.lang.Object {
|
||||
public abstract fun f(/*0*/ vararg p0: jet.String? /*jet.Array<jet.String?>*/): jet.Unit
|
||||
public abstract fun f(/*0*/ vararg p0: kotlin.String? /*kotlin.Array<kotlin.String?>*/): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@ package test
|
||||
|
||||
public open class AmbiguousAdapters : java.lang.Object {
|
||||
public constructor AmbiguousAdapters()
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: (() -> jet.Unit)?): jet.Unit
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: (() -> jet.Unit)?): jet.Unit
|
||||
public open fun foo(/*0*/ p0: java.io.Closeable?): jet.Unit
|
||||
public open fun foo(/*0*/ p0: java.lang.Runnable?): jet.Unit
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
public open fun foo(/*0*/ p0: java.io.Closeable?): kotlin.Unit
|
||||
public open fun foo(/*0*/ p0: java.lang.Runnable?): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -2,11 +2,11 @@ package test
|
||||
|
||||
public open class Basic : java.lang.Object {
|
||||
public constructor Basic()
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: (() -> jet.Unit)?): jet.Unit
|
||||
public open fun foo(/*0*/ p0: java.lang.Runnable?): jet.Unit
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
public open fun foo(/*0*/ p0: java.lang.Runnable?): kotlin.Unit
|
||||
}
|
||||
|
||||
package test.Basic {
|
||||
public /*synthesized*/ fun bar(/*0*/ p0: (() -> jet.Unit)?): jet.Unit
|
||||
public open fun bar(/*0*/ p0: java.lang.Runnable?): jet.Unit
|
||||
public /*synthesized*/ fun bar(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
public open fun bar(/*0*/ p0: java.lang.Runnable?): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class Constructor : java.lang.Object {
|
||||
public /*synthesized*/ constructor Constructor(/*0*/ p0: (() -> jet.Unit)?)
|
||||
public /*synthesized*/ constructor Constructor(/*0*/ p0: (() -> kotlin.Unit)?)
|
||||
public constructor Constructor(/*0*/ p0: java.lang.Runnable?)
|
||||
}
|
||||
|
||||
@@ -3,17 +3,17 @@ package test
|
||||
public trait DeepSamLoop : java.lang.Object {
|
||||
|
||||
public trait Bar : java.lang.Object {
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: ((test.DeepSamLoop.Bar?) -> jet.Unit)?): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: test.DeepSamLoop.Foo?): jet.Unit
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: ((test.DeepSamLoop.Bar?) -> kotlin.Unit)?): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: test.DeepSamLoop.Foo?): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Foo : java.lang.Object {
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: ((test.DeepSamLoop.Foo?) -> jet.Unit)?): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: test.DeepSamLoop.Bar?): jet.Unit
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: ((test.DeepSamLoop.Foo?) -> kotlin.Unit)?): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: test.DeepSamLoop.Bar?): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
package test.DeepSamLoop {
|
||||
public /*synthesized*/ fun Bar(/*0*/ function: (test.DeepSamLoop.Foo?) -> jet.Unit): test.DeepSamLoop.Bar
|
||||
public /*synthesized*/ fun Foo(/*0*/ function: (test.DeepSamLoop.Bar?) -> jet.Unit): test.DeepSamLoop.Foo
|
||||
public /*synthesized*/ fun Bar(/*0*/ function: (test.DeepSamLoop.Foo?) -> kotlin.Unit): test.DeepSamLoop.Bar
|
||||
public /*synthesized*/ fun Foo(/*0*/ function: (test.DeepSamLoop.Bar?) -> kotlin.Unit): test.DeepSamLoop.Foo
|
||||
}
|
||||
|
||||
@@ -2,11 +2,11 @@ package test
|
||||
|
||||
public open class NonTrivialFunctionType : java.lang.Object {
|
||||
public constructor NonTrivialFunctionType()
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: ((java.io.File, jet.String) -> jet.Boolean)?): jet.Unit
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: ((jet.String, jet.String) -> jet.Int)?): jet.Unit
|
||||
public open fun foo(/*0*/ p0: java.io.FilenameFilter?): jet.Unit
|
||||
public open fun foo(/*0*/ p0: java.util.Comparator<jet.String>?): jet.Unit
|
||||
public final /*synthesized*/ fun wildcardBound(/*0*/ p0: ((jet.CharSequence?, jet.CharSequence?) -> jet.Int)?): jet.Unit
|
||||
public open fun wildcardBound(/*0*/ p0: java.util.Comparator<in jet.CharSequence?>?): jet.Unit
|
||||
public open fun wildcardUnbound(/*0*/ p0: java.util.Comparator<out jet.Any?>?): jet.Unit
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: ((java.io.File, kotlin.String) -> kotlin.Boolean)?): kotlin.Unit
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: ((kotlin.String, kotlin.String) -> kotlin.Int)?): kotlin.Unit
|
||||
public open fun foo(/*0*/ p0: java.io.FilenameFilter?): kotlin.Unit
|
||||
public open fun foo(/*0*/ p0: java.util.Comparator<kotlin.String>?): kotlin.Unit
|
||||
public final /*synthesized*/ fun wildcardBound(/*0*/ p0: ((kotlin.CharSequence?, kotlin.CharSequence?) -> kotlin.Int)?): kotlin.Unit
|
||||
public open fun wildcardBound(/*0*/ p0: java.util.Comparator<in kotlin.CharSequence?>?): kotlin.Unit
|
||||
public open fun wildcardUnbound(/*0*/ p0: java.util.Comparator<out kotlin.Any?>?): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package test
|
||||
|
||||
public /*synthesized*/ fun SelfAsParameter(/*0*/ function: (test.SelfAsParameter?) -> jet.Unit): test.SelfAsParameter
|
||||
public /*synthesized*/ fun SelfAsParameter(/*0*/ function: (test.SelfAsParameter?) -> kotlin.Unit): test.SelfAsParameter
|
||||
|
||||
public trait SelfAsParameter : java.lang.Object {
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: ((test.SelfAsParameter?) -> jet.Unit)?): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: test.SelfAsParameter?): jet.Unit
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: ((test.SelfAsParameter?) -> kotlin.Unit)?): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: test.SelfAsParameter?): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -5,6 +5,6 @@ public open class SeveralSamParameters : java.lang.Object {
|
||||
}
|
||||
|
||||
package test.SeveralSamParameters {
|
||||
public /*synthesized*/ fun findMaxAndInvokeCallback(/*0*/ p0: ((jet.String, jet.String) -> jet.Int)?, /*1*/ p1: jet.String?, /*2*/ p2: jet.String?, /*3*/ p3: (() -> jet.Unit)?): jet.String?
|
||||
public open fun findMaxAndInvokeCallback(/*0*/ p0: java.util.Comparator<jet.String>?, /*1*/ p1: jet.String?, /*2*/ p2: jet.String?, /*3*/ p3: java.lang.Runnable?): jet.String?
|
||||
public /*synthesized*/ fun findMaxAndInvokeCallback(/*0*/ p0: ((kotlin.String, kotlin.String) -> kotlin.Int)?, /*1*/ p1: kotlin.String?, /*2*/ p2: kotlin.String?, /*3*/ p3: (() -> kotlin.Unit)?): kotlin.String?
|
||||
public open fun findMaxAndInvokeCallback(/*0*/ p0: java.util.Comparator<kotlin.String>?, /*1*/ p1: kotlin.String?, /*2*/ p2: kotlin.String?, /*3*/ p3: java.lang.Runnable?): kotlin.String?
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user