Check compileJavaAgainstKotlin tests with .txt files
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
public open class AccessorGenericSignature {
|
||||
public constructor AccessorGenericSignature()
|
||||
private final val b: test.BadClass!
|
||||
}
|
||||
|
||||
public final class BadClass {
|
||||
public constructor BadClass()
|
||||
private final fun </*0*/ D> bar(/*0*/ kotlin.List<D>): kotlin.Unit
|
||||
private final fun </*0*/ E : kotlin.Number, /*1*/ F : kotlin.MutableList<E>> baz(/*0*/ kotlin.List<F>): kotlin.Unit
|
||||
internal final fun foo(): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
internal fun anyany(/*0*/ kotlin.Any, /*1*/ java.util.List<kotlin.String>): kotlin.Any
|
||||
|
||||
public/*package*/ open class Any {
|
||||
public/*package*/ constructor Any()
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
internal fun ohMy(/*0*/ kotlin.Array<kotlin.IntArray>): kotlin.Array<kotlin.IntArray>
|
||||
|
||||
public/*package*/ open class ArrayOfIntArray {
|
||||
public/*package*/ constructor ArrayOfIntArray()
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
internal fun ohMy(/*0*/ kotlin.Array<kotlin.Array<kotlin.Int>>, /*1*/ java.util.List<kotlin.String>): kotlin.Array<kotlin.Array<kotlin.Int>>
|
||||
|
||||
public/*package*/ open class ArrayOfIntArray {
|
||||
public/*package*/ constructor ArrayOfIntArray()
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
public open class ClashingSignaturesWithoutReturnType {
|
||||
public constructor ClashingSignaturesWithoutReturnType()
|
||||
public/*package*/ open fun test(/*0*/ kotlin.(Mutable)List<kotlin.String!>!, /*1*/ kotlin.(Mutable)List<kotlin.Int!>!): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class K {
|
||||
public constructor K()
|
||||
internal final fun foo(/*0*/ kotlin.List<kotlin.Int>): kotlin.Int
|
||||
internal final fun foo(/*0*/ kotlin.List<kotlin.String>): kotlin.String
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package test
|
||||
|
||||
internal final class Impl : test.Trait {
|
||||
public constructor Impl()
|
||||
internal open val bar: kotlin.Int
|
||||
internal open fun foo(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class JavaClass {
|
||||
public/*package*/ constructor JavaClass()
|
||||
|
||||
// Static members
|
||||
public open fun main(/*0*/ kotlin.Array<(out) kotlin.String!>!): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class Test : test.Trait {
|
||||
public constructor Test()
|
||||
internal open /*delegation*/ val bar: kotlin.Int
|
||||
internal open /*delegation*/ fun foo(): kotlin.Unit
|
||||
}
|
||||
|
||||
internal interface Trait {
|
||||
internal abstract val bar: kotlin.Int
|
||||
internal abstract fun foo(): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
internal fun kotlin.String.noParam(): kotlin.Unit
|
||||
internal fun kotlin.String.param(/*0*/ kotlin.String): kotlin.Unit
|
||||
|
||||
public/*package*/ open class GenericArray {
|
||||
public/*package*/ constructor GenericArray()
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
internal fun </*0*/ P> ffgg(/*0*/ kotlin.Array<P>): kotlin.Array<P>
|
||||
|
||||
public/*package*/ open class GenericArray {
|
||||
public/*package*/ constructor GenericArray()
|
||||
|
||||
// Static members
|
||||
public open fun ggff(): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
internal fun f(): kotlin.String
|
||||
|
||||
public/*package*/ open class Hello {
|
||||
public/*package*/ constructor Hello()
|
||||
|
||||
// Static members
|
||||
public open fun xx(): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
internal fun lll(/*0*/ kotlin.Int): kotlin.Int
|
||||
|
||||
public/*package*/ open class Int {
|
||||
public/*package*/ constructor Int()
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
internal fun doNothing(/*0*/ kotlin.IntArray, /*1*/ java.util.List<kotlin.String>): kotlin.IntArray
|
||||
|
||||
public/*package*/ open class IntArray {
|
||||
public/*package*/ constructor IntArray()
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
internal fun www(/*0*/ kotlin.Int = ...): kotlin.Int
|
||||
|
||||
public/*package*/ open class IntWithDefault {
|
||||
public/*package*/ constructor IntWithDefault()
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
internal fun doNothing(/*0*/ kotlin.Array<kotlin.Int>, /*1*/ java.util.List<kotlin.String>): kotlin.Array<kotlin.Int>
|
||||
|
||||
public/*package*/ open class IntArray {
|
||||
public/*package*/ constructor IntArray()
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
internal fun ggg(/*0*/ kotlin.List<kotlin.Int>): kotlin.List<kotlin.Int>
|
||||
|
||||
public/*package*/ open class ListOfInt {
|
||||
public/*package*/ constructor ListOfInt()
|
||||
|
||||
// Static members
|
||||
public open fun hhh(): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
internal fun ff(/*0*/ kotlin.List<kotlin.String>): kotlin.Int
|
||||
|
||||
public/*package*/ open class ListString {
|
||||
public/*package*/ constructor ListString()
|
||||
|
||||
// Static members
|
||||
public open fun gg(): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
internal fun </*0*/ P> listOfT(/*0*/ kotlin.List<P>): kotlin.List<P>
|
||||
|
||||
public/*package*/ open class ListOfT {
|
||||
public/*package*/ constructor ListOfT()
|
||||
|
||||
// Static members
|
||||
public open fun check(): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
internal fun </*0*/ K> fff(/*0*/ kotlin.Map<K, kotlin.String>): kotlin.Map<K, kotlin.String>
|
||||
|
||||
public/*package*/ open class MapOfKString {
|
||||
public/*package*/ constructor MapOfKString()
|
||||
|
||||
// Static members
|
||||
public open fun gfgdgfg(): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
internal fun fff(/*0*/ kotlin.Map<kotlin.String, kotlin.Int?>): kotlin.Map<kotlin.String, kotlin.Int?>
|
||||
|
||||
public/*package*/ open class MapOfKString {
|
||||
public/*package*/ constructor MapOfKString()
|
||||
|
||||
// Static members
|
||||
public open fun gfgdgfg(): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
internal fun </*0*/ P1 : kotlin.List<kotlin.String>> id(/*0*/ P1): P1
|
||||
|
||||
public/*package*/ open class Question {
|
||||
public/*package*/ constructor Question()
|
||||
|
||||
// Static members
|
||||
public/*package*/ open fun </*0*/ T> id2(/*0*/ T!): T!
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
internal fun </*0*/ T : kotlin.String> id(/*0*/ T): T
|
||||
|
||||
public/*package*/ open class Question {
|
||||
public/*package*/ constructor Question()
|
||||
|
||||
// Static members
|
||||
public/*package*/ open fun </*0*/ T> id2(/*0*/ T!): T!
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
internal interface Trait {
|
||||
internal open fun generic(/*0*/ kotlin.List<kotlin.String>): kotlin.Unit
|
||||
internal open fun simple(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ abstract class TraitImpl : test.Trait {
|
||||
public/*package*/ constructor TraitImpl()
|
||||
internal open /*fake_override*/ fun generic(/*0*/ kotlin.List<kotlin.String>): kotlin.Unit
|
||||
internal open /*fake_override*/ fun simple(): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
internal fun gg(/*0*/ kotlin.List<kotlin.String>, /*1*/ vararg kotlin.Int /*kotlin.IntArray*/): kotlin.List<kotlin.String>
|
||||
|
||||
public/*package*/ open class Vararg {
|
||||
public/*package*/ constructor Vararg()
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
internal fun f(): kotlin.Unit
|
||||
|
||||
public/*package*/ open class Void {
|
||||
public/*package*/ constructor Void()
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
kotlin.platform.platformName(name = "bar": kotlin.String) internal fun foo(): kotlin.Unit
|
||||
|
||||
public open class PlatformName {
|
||||
public constructor PlatformName()
|
||||
|
||||
// Static members
|
||||
public open fun main(/*0*/ kotlin.Array<(out) kotlin.String!>!): kotlin.Unit
|
||||
}
|
||||
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal open class B : test.A<kotlin.Byte> {
|
||||
public constructor B()
|
||||
internal open fun foo(): kotlin.Byte
|
||||
}
|
||||
|
||||
internal abstract class C : test.A<kotlin.Byte> {
|
||||
public constructor C()
|
||||
internal abstract /*fake_override*/ fun foo(): kotlin.Byte
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsB : test.B {
|
||||
public/*package*/ constructor ExtendsB()
|
||||
internal open /*fake_override*/ fun foo(): kotlin.Byte
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsC : test.C {
|
||||
public/*package*/ constructor ExtendsC()
|
||||
public open fun foo(): kotlin.Byte!
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal final class B : test.A<kotlin.Int> {
|
||||
public constructor B()
|
||||
internal final fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class Test {
|
||||
public/*package*/ constructor Test()
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal final class B : test.A<kotlin.Int> {
|
||||
public constructor B()
|
||||
internal open fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class Test {
|
||||
public/*package*/ constructor Test()
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
package test
|
||||
|
||||
internal interface A {
|
||||
internal abstract fun foo(): kotlin.Any
|
||||
}
|
||||
|
||||
internal open class B : test.A {
|
||||
public constructor B()
|
||||
internal open fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class Test : test.B {
|
||||
public/*package*/ constructor Test()
|
||||
internal open /*fake_override*/ fun foo(): kotlin.Int
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal open class B : test.A<kotlin.Int> {
|
||||
public constructor B()
|
||||
internal final fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class Test : test.B {
|
||||
public/*package*/ constructor Test()
|
||||
internal final /*fake_override*/ fun foo(): kotlin.Int
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T : kotlin.Comparable<T>> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal open class B : test.A<kotlin.Int> {
|
||||
public constructor B()
|
||||
internal open fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
internal abstract class C : test.A<kotlin.Int> {
|
||||
public constructor C()
|
||||
internal abstract /*fake_override*/ fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsB : test.B {
|
||||
public/*package*/ constructor ExtendsB()
|
||||
internal open /*fake_override*/ fun foo(): kotlin.Int
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsC : test.C {
|
||||
public/*package*/ constructor ExtendsC()
|
||||
public open fun foo(): kotlin.Int!
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T : kotlin.Number> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal open class B : test.A<kotlin.Int> {
|
||||
public constructor B()
|
||||
internal open fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
internal abstract class C : test.A<kotlin.Int> {
|
||||
public constructor C()
|
||||
internal abstract /*fake_override*/ fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsB : test.B {
|
||||
public/*package*/ constructor ExtendsB()
|
||||
internal open /*fake_override*/ fun foo(): kotlin.Int
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsC : test.C {
|
||||
public/*package*/ constructor ExtendsC()
|
||||
public open fun foo(): kotlin.Int!
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal open class B : test.A<kotlin.Int> {
|
||||
public constructor B()
|
||||
internal open fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
internal abstract class C : test.A<kotlin.Int> {
|
||||
public constructor C()
|
||||
internal abstract /*fake_override*/ fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsB : test.B {
|
||||
public/*package*/ constructor ExtendsB()
|
||||
internal open /*fake_override*/ fun foo(): kotlin.Int
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsC : test.C {
|
||||
public/*package*/ constructor ExtendsC()
|
||||
public open fun foo(): kotlin.Int!
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal interface B : test.A<kotlin.Int> {
|
||||
internal abstract /*fake_override*/ fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
internal abstract class C : test.B {
|
||||
public constructor C()
|
||||
internal abstract /*fake_override*/ fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
internal open class D : test.C {
|
||||
public constructor D()
|
||||
internal open fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsD : test.D {
|
||||
public/*package*/ constructor ExtendsD()
|
||||
internal open /*fake_override*/ fun foo(): kotlin.Int
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal open class B : test.A<kotlin.Int?> {
|
||||
public constructor B()
|
||||
internal open fun foo(): kotlin.Int?
|
||||
}
|
||||
|
||||
internal abstract class C : test.A<kotlin.Int?> {
|
||||
public constructor C()
|
||||
internal abstract /*fake_override*/ fun foo(): kotlin.Int?
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsB : test.B {
|
||||
public/*package*/ constructor ExtendsB()
|
||||
internal open /*fake_override*/ fun foo(): kotlin.Int?
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsC : test.C {
|
||||
public/*package*/ constructor ExtendsC()
|
||||
public open fun foo(): kotlin.Int!
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package test
|
||||
|
||||
internal interface A</*0*/ T> {
|
||||
internal abstract fun foo(): T
|
||||
}
|
||||
|
||||
internal abstract class B : test.A<kotlin.Int> {
|
||||
public constructor B()
|
||||
internal abstract fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
public/*package*/ open class ExtendsB : test.B {
|
||||
public/*package*/ constructor ExtendsB()
|
||||
public open fun foo(): kotlin.Int!
|
||||
public/*package*/ open fun test(): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package test
|
||||
|
||||
internal final class E1 : java.lang.Exception {
|
||||
public constructor E1()
|
||||
public final /*fake_override*/ fun getCause(): kotlin.Throwable?
|
||||
public final /*fake_override*/ fun getMessage(): kotlin.String?
|
||||
public final /*fake_override*/ fun printStackTrace(): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class E2 : java.lang.Exception {
|
||||
public constructor E2()
|
||||
public final /*fake_override*/ fun getCause(): kotlin.Throwable?
|
||||
public final /*fake_override*/ fun getMessage(): kotlin.String?
|
||||
public final /*fake_override*/ fun printStackTrace(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class JavaClass {
|
||||
public/*package*/ constructor JavaClass()
|
||||
public/*package*/ open fun testMethod(): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class Test {
|
||||
public constructor Test()
|
||||
internal final fun none(): kotlin.Unit
|
||||
internal final fun one(): kotlin.Unit
|
||||
internal final fun two(): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package test
|
||||
|
||||
internal final class E1 : java.lang.Exception {
|
||||
public constructor E1()
|
||||
public final /*fake_override*/ fun getCause(): kotlin.Throwable?
|
||||
public final /*fake_override*/ fun getMessage(): kotlin.String?
|
||||
public final /*fake_override*/ fun printStackTrace(): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class E2 : java.lang.Exception {
|
||||
public constructor E2()
|
||||
public final /*fake_override*/ fun getCause(): kotlin.Throwable?
|
||||
public final /*fake_override*/ fun getMessage(): kotlin.String?
|
||||
public final /*fake_override*/ fun printStackTrace(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class JavaClass {
|
||||
public/*package*/ constructor JavaClass()
|
||||
public/*package*/ open fun testMethod(): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class None {
|
||||
public constructor None()
|
||||
}
|
||||
|
||||
internal final class One {
|
||||
public constructor One()
|
||||
}
|
||||
|
||||
internal final class OneWithParam {
|
||||
public constructor OneWithParam(/*0*/ kotlin.Int)
|
||||
}
|
||||
|
||||
internal final class Two {
|
||||
public constructor Two()
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package test
|
||||
|
||||
kotlin.jvm.jvmOverloads() internal fun one(/*0*/ kotlin.Int = ...): kotlin.Unit
|
||||
|
||||
internal final class E1 : java.lang.Exception {
|
||||
public constructor E1()
|
||||
public final /*fake_override*/ fun getCause(): kotlin.Throwable?
|
||||
public final /*fake_override*/ fun getMessage(): kotlin.String?
|
||||
public final /*fake_override*/ fun printStackTrace(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class JavaClass {
|
||||
public/*package*/ constructor JavaClass()
|
||||
public/*package*/ open fun testMethod(/*0*/ test.One!): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class One {
|
||||
public constructor One(/*0*/ kotlin.Int = ...)
|
||||
internal final fun one(/*0*/ kotlin.Int = ...): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
package test
|
||||
|
||||
internal final class E1 : java.lang.Exception {
|
||||
public constructor E1()
|
||||
public final /*fake_override*/ fun getCause(): kotlin.Throwable?
|
||||
public final /*fake_override*/ fun getMessage(): kotlin.String?
|
||||
public final /*fake_override*/ fun printStackTrace(): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class E2 : java.lang.Exception {
|
||||
public constructor E2()
|
||||
public final /*fake_override*/ fun getCause(): kotlin.Throwable?
|
||||
public final /*fake_override*/ fun getMessage(): kotlin.String?
|
||||
public final /*fake_override*/ fun printStackTrace(): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class Impl : test.Trait {
|
||||
public constructor Impl()
|
||||
internal open fun none(): kotlin.Unit
|
||||
internal open fun one(): kotlin.Unit
|
||||
internal open fun two(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class JavaClass {
|
||||
public/*package*/ constructor JavaClass()
|
||||
public/*package*/ open fun testMethod(): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class Test : test.Trait {
|
||||
public constructor Test()
|
||||
internal open /*delegation*/ fun none(): kotlin.Unit
|
||||
internal open /*delegation*/ fun one(): kotlin.Unit
|
||||
internal open /*delegation*/ fun two(): kotlin.Unit
|
||||
}
|
||||
|
||||
internal interface Trait {
|
||||
internal abstract fun none(): kotlin.Unit
|
||||
internal abstract fun one(): kotlin.Unit
|
||||
internal abstract fun two(): kotlin.Unit
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
package test
|
||||
|
||||
internal interface Base</*0*/ T> {
|
||||
internal open fun one(/*0*/ T): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class Derived : test.Base<kotlin.String> {
|
||||
public constructor Derived()
|
||||
internal open /*fake_override*/ fun one(/*0*/ kotlin.String): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class E1 : java.lang.Exception {
|
||||
public constructor E1()
|
||||
public final /*fake_override*/ fun getCause(): kotlin.Throwable?
|
||||
public final /*fake_override*/ fun getMessage(): kotlin.String?
|
||||
public final /*fake_override*/ fun printStackTrace(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class JavaClass {
|
||||
public/*package*/ constructor JavaClass()
|
||||
|
||||
// Static members
|
||||
public open fun main(/*0*/ kotlin.Array<(out) kotlin.String!>!): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package test
|
||||
|
||||
internal fun none(): kotlin.Unit
|
||||
internal fun one(): kotlin.Unit
|
||||
internal fun two(): kotlin.Unit
|
||||
|
||||
internal final class E1 : java.lang.Exception {
|
||||
public constructor E1()
|
||||
public final /*fake_override*/ fun getCause(): kotlin.Throwable?
|
||||
public final /*fake_override*/ fun getMessage(): kotlin.String?
|
||||
public final /*fake_override*/ fun printStackTrace(): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class E2 : java.lang.Exception {
|
||||
public constructor E2()
|
||||
public final /*fake_override*/ fun getCause(): kotlin.Throwable?
|
||||
public final /*fake_override*/ fun getMessage(): kotlin.String?
|
||||
public final /*fake_override*/ fun printStackTrace(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class JavaClass {
|
||||
public/*package*/ constructor JavaClass()
|
||||
public/*package*/ open fun testMethod(): kotlin.Unit
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package test
|
||||
|
||||
internal final class E1 : java.lang.Exception {
|
||||
public constructor E1()
|
||||
public final /*fake_override*/ fun getCause(): kotlin.Throwable?
|
||||
public final /*fake_override*/ fun getMessage(): kotlin.String?
|
||||
public final /*fake_override*/ fun printStackTrace(): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class E2 : java.lang.Exception {
|
||||
public constructor E2()
|
||||
public final /*fake_override*/ fun getCause(): kotlin.Throwable?
|
||||
public final /*fake_override*/ fun getMessage(): kotlin.String?
|
||||
public final /*fake_override*/ fun printStackTrace(): kotlin.Unit
|
||||
}
|
||||
|
||||
public/*package*/ open class JavaClass {
|
||||
public/*package*/ constructor JavaClass()
|
||||
public/*package*/ open fun testMethod(): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class Test : test.Trait {
|
||||
public constructor Test()
|
||||
internal open /*fake_override*/ fun none(): kotlin.Unit
|
||||
internal open /*fake_override*/ fun one(): kotlin.Unit
|
||||
internal open /*fake_override*/ fun two(): kotlin.Unit
|
||||
}
|
||||
|
||||
internal interface Trait {
|
||||
internal open fun none(): kotlin.Unit
|
||||
internal open fun one(): kotlin.Unit
|
||||
internal open fun two(): kotlin.Unit
|
||||
}
|
||||
Reference in New Issue
Block a user