Replace "jet" package name with "kotlin" in testData
This commit is contained in:
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public final class ArrayTypeVariance : java.lang.Object {
|
||||
public constructor ArrayTypeVariance()
|
||||
public final fun toArray(/*0*/ p0: jet.Array<out jet.Any>?): jet.Array<jet.Any>?
|
||||
public final fun toArray(/*0*/ p0: kotlin.Array<out kotlin.Any>?): kotlin.Array<kotlin.Any>?
|
||||
}
|
||||
|
||||
+21
-21
@@ -2,25 +2,25 @@ package test
|
||||
|
||||
public abstract class ClassDoesNotOverrideMethod : java.util.Date {
|
||||
public constructor ClassDoesNotOverrideMethod()
|
||||
public open override /*1*/ /*fake_override*/ fun after(/*0*/ p0: java.util.Date): jet.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun before(/*0*/ p0: java.util.Date): jet.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun compareTo(/*0*/ p0: java.util.Date): jet.Int
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open override /*1*/ /*fake_override*/ fun getDate(): jet.Int
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open override /*1*/ /*fake_override*/ fun getDay(): jet.Int
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open override /*1*/ /*fake_override*/ fun getHours(): jet.Int
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open override /*1*/ /*fake_override*/ fun getMinutes(): jet.Int
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open override /*1*/ /*fake_override*/ fun getMonth(): jet.Int
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open override /*1*/ /*fake_override*/ fun getSeconds(): jet.Int
|
||||
public open override /*1*/ /*fake_override*/ fun getTime(): jet.Long
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open override /*1*/ /*fake_override*/ fun getTimezoneOffset(): jet.Int
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open override /*1*/ /*fake_override*/ fun getYear(): jet.Int
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open override /*1*/ /*fake_override*/ fun setDate(/*0*/ p0: jet.Int): jet.Unit
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open override /*1*/ /*fake_override*/ fun setHours(/*0*/ p0: jet.Int): jet.Unit
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open override /*1*/ /*fake_override*/ fun setMinutes(/*0*/ p0: jet.Int): jet.Unit
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open override /*1*/ /*fake_override*/ fun setMonth(/*0*/ p0: jet.Int): jet.Unit
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open override /*1*/ /*fake_override*/ fun setSeconds(/*0*/ p0: jet.Int): jet.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun setTime(/*0*/ p0: jet.Long): jet.Unit
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open override /*1*/ /*fake_override*/ fun setYear(/*0*/ p0: jet.Int): jet.Unit
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open override /*1*/ /*fake_override*/ fun toGMTString(): jet.String
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open override /*1*/ /*fake_override*/ fun toLocaleString(): jet.String
|
||||
public open override /*1*/ /*fake_override*/ fun after(/*0*/ p0: java.util.Date): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun before(/*0*/ p0: java.util.Date): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun compareTo(/*0*/ p0: java.util.Date): kotlin.Int
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getDate(): kotlin.Int
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getDay(): kotlin.Int
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getHours(): kotlin.Int
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getMinutes(): kotlin.Int
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getMonth(): kotlin.Int
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getSeconds(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun getTime(): kotlin.Long
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getTimezoneOffset(): kotlin.Int
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getYear(): kotlin.Int
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setDate(/*0*/ p0: kotlin.Int): kotlin.Unit
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setHours(/*0*/ p0: kotlin.Int): kotlin.Unit
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setMinutes(/*0*/ p0: kotlin.Int): kotlin.Unit
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setMonth(/*0*/ p0: kotlin.Int): kotlin.Unit
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setSeconds(/*0*/ p0: kotlin.Int): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun setTime(/*0*/ p0: kotlin.Long): kotlin.Unit
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setYear(/*0*/ p0: kotlin.Int): kotlin.Unit
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun toGMTString(): kotlin.String
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun toLocaleString(): kotlin.String
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public abstract class ClassWithTypePExtendsIterableP<P>() : jet.MutableIterable<P> {
|
||||
public abstract class ClassWithTypePExtendsIterableP<P>() : kotlin.MutableIterable<P> {
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public abstract class ClassWithTypePExtendsIterableP</*0*/ P> : jet.MutableIterable<P> {
|
||||
public abstract class ClassWithTypePExtendsIterableP</*0*/ P> : kotlin.MutableIterable<P> {
|
||||
public constructor ClassWithTypePExtendsIterableP</*0*/ P>()
|
||||
public abstract override /*1*/ /*fake_override*/ fun iterator(): jet.MutableIterator<P>
|
||||
public abstract override /*1*/ /*fake_override*/ fun iterator(): kotlin.MutableIterator<P>
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package test
|
||||
|
||||
public open class ClassWithTypePRefNext<R : jet.Iterable<P>?, P>() : java.lang.Object()
|
||||
public open class ClassWithTypePRefNext<R : kotlin.Iterable<P>?, P>() : java.lang.Object()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class ClassWithTypePRefNext</*0*/ R : jet.Iterable<P>?, /*1*/ P> : java.lang.Object {
|
||||
public constructor ClassWithTypePRefNext</*0*/ R : jet.Iterable<P>?, /*1*/ P>()
|
||||
public open class ClassWithTypePRefNext</*0*/ R : kotlin.Iterable<P>?, /*1*/ P> : java.lang.Object {
|
||||
public constructor ClassWithTypePRefNext</*0*/ R : kotlin.Iterable<P>?, /*1*/ P>()
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public class ClassWithTypePRefSelf<P : jet.Enum<P>?>() : java.lang.Object() {
|
||||
public class ClassWithTypePRefSelf<P : kotlin.Enum<P>?>() : java.lang.Object() {
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public final class ClassWithTypePRefSelf</*0*/ P : jet.Enum<P>?> : java.lang.Object {
|
||||
public constructor ClassWithTypePRefSelf</*0*/ P : jet.Enum<P>?>()
|
||||
public final class ClassWithTypePRefSelf</*0*/ P : kotlin.Enum<P>?> : java.lang.Object {
|
||||
public constructor ClassWithTypePRefSelf</*0*/ P : kotlin.Enum<P>?>()
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public final class FieldAsVar : java.lang.Object {
|
||||
public constructor FieldAsVar()
|
||||
public final var f: jet.Int
|
||||
public final var f: kotlin.Int
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class FieldOfArrayType : java.lang.Object {
|
||||
public constructor FieldOfArrayType()
|
||||
public final var files: jet.Array<java.io.File>?
|
||||
public final var files: kotlin.Array<java.io.File>?
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public final class FinalFieldAsVal : java.lang.Object {
|
||||
public constructor FinalFieldAsVal()
|
||||
public final val f: jet.Int
|
||||
public final val f: kotlin.Int
|
||||
}
|
||||
|
||||
+6
-6
@@ -4,17 +4,17 @@ public final class InheritMethodsDifferentReturnTypes : java.lang.Object {
|
||||
public constructor InheritMethodsDifferentReturnTypes()
|
||||
|
||||
public trait Sub : test.InheritMethodsDifferentReturnTypes.Super1, test.InheritMethodsDifferentReturnTypes.Super2 {
|
||||
public abstract override /*2*/ /*fake_override*/ fun bar(): jet.String?
|
||||
public abstract override /*2*/ /*fake_override*/ fun foo(): jet.String?
|
||||
public abstract override /*2*/ /*fake_override*/ fun bar(): kotlin.String?
|
||||
public abstract override /*2*/ /*fake_override*/ fun foo(): kotlin.String?
|
||||
}
|
||||
|
||||
public trait Super1 : java.lang.Object {
|
||||
public abstract fun bar(): jet.String?
|
||||
public abstract fun foo(): jet.CharSequence?
|
||||
public abstract fun bar(): kotlin.String?
|
||||
public abstract fun foo(): kotlin.CharSequence?
|
||||
}
|
||||
|
||||
public trait Super2 : java.lang.Object {
|
||||
public abstract fun bar(): jet.CharSequence?
|
||||
public abstract fun foo(): jet.String?
|
||||
public abstract fun bar(): kotlin.CharSequence?
|
||||
public abstract fun foo(): kotlin.String?
|
||||
}
|
||||
}
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@ package test
|
||||
public final class InheritMethodsDifferentReturnTypesGeneric : java.lang.Object {
|
||||
public constructor InheritMethodsDifferentReturnTypesGeneric()
|
||||
|
||||
public trait Sub : test.InheritMethodsDifferentReturnTypesGeneric.Super1<jet.String, jet.CharSequence>, test.InheritMethodsDifferentReturnTypesGeneric.Super2<jet.CharSequence, jet.String> {
|
||||
public abstract override /*2*/ /*fake_override*/ fun bar(): jet.String?
|
||||
public abstract override /*2*/ /*fake_override*/ fun foo(): jet.String?
|
||||
public trait Sub : test.InheritMethodsDifferentReturnTypesGeneric.Super1<kotlin.String, kotlin.CharSequence>, test.InheritMethodsDifferentReturnTypesGeneric.Super2<kotlin.CharSequence, kotlin.String> {
|
||||
public abstract override /*2*/ /*fake_override*/ fun bar(): kotlin.String?
|
||||
public abstract override /*2*/ /*fake_override*/ fun foo(): kotlin.String?
|
||||
}
|
||||
|
||||
public trait Super1</*0*/ F, /*1*/ B> : java.lang.Object {
|
||||
|
||||
@@ -5,7 +5,7 @@ public open class InnerClassesInGeneric<P, Q>() : java.lang.Object() {
|
||||
}
|
||||
|
||||
public open inner class Inner2() : Inner() {
|
||||
public open fun iterator() : jet.MutableIterator<P>? {
|
||||
public open fun iterator() : kotlin.MutableIterator<P>? {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,6 +9,6 @@ public open class InnerClassesInGeneric</*0*/ P, /*1*/ Q> : java.lang.Object {
|
||||
|
||||
public open inner class Inner2 : test.InnerClassesInGeneric.Inner {
|
||||
public constructor Inner2()
|
||||
public open fun iterator(): jet.MutableIterator<P>?
|
||||
public open fun iterator(): kotlin.MutableIterator<P>?
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,6 +5,6 @@ public final class MethodReferencesOuterClassTP</*0*/ P> : java.lang.Object {
|
||||
|
||||
public final inner class Inner : java.lang.Object {
|
||||
public constructor Inner()
|
||||
public final fun </*0*/ Q : P> f(): jet.Unit
|
||||
public final fun </*0*/ Q : P> f(): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MethodTypePOneUpperBound : java.lang.Object {
|
||||
public constructor MethodTypePOneUpperBound()
|
||||
public open fun </*0*/ T : java.lang.Cloneable?> bar(): jet.Unit
|
||||
public open fun </*0*/ T : java.lang.Cloneable?> bar(): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MethodTypePTwoUpperBounds : java.lang.Object {
|
||||
public constructor MethodTypePTwoUpperBounds()
|
||||
public open fun </*0*/ T : java.lang.Cloneable?> foo(): jet.Unit where T : java.lang.Runnable?
|
||||
public open fun </*0*/ T : java.lang.Cloneable?> foo(): kotlin.Unit where T : java.lang.Runnable?
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public final class MethodWithTypeP : java.lang.Object {
|
||||
public constructor MethodWithTypeP()
|
||||
public final fun </*0*/ P> f(): jet.Unit
|
||||
public final fun </*0*/ P> f(): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public final class MethodWithTypePP : java.lang.Object {
|
||||
public constructor MethodWithTypePP()
|
||||
public final fun </*0*/ P, /*1*/ Q : P> f(): jet.Unit
|
||||
public final fun </*0*/ P, /*1*/ Q : P> f(): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MethodWithTypePRefClassP</*0*/ P> : java.lang.Object {
|
||||
public constructor MethodWithTypePRefClassP</*0*/ P>()
|
||||
public final fun </*0*/ Q : P> f(): jet.Unit
|
||||
public final fun </*0*/ Q : P> f(): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public final class MethosWithPRefTP : java.lang.Object {
|
||||
public constructor MethosWithPRefTP()
|
||||
public final fun </*0*/ P> f(/*0*/ p0: P?): jet.Unit
|
||||
public final fun </*0*/ P> f(/*0*/ p0: P?): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class MyException : java.lang.Object {
|
||||
public constructor MyException(/*0*/ p0: jet.String?, /*1*/ p1: jet.Throwable?)
|
||||
public constructor MyException(/*0*/ p0: kotlin.String?, /*1*/ p1: kotlin.Throwable?)
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public trait RemoveRedundantProjectionKind : java.lang.Object {
|
||||
public abstract fun f(/*0*/ p0: jet.Collection<jet.CharSequence?>?): jet.Unit
|
||||
public abstract fun f(/*0*/ p0: jet.Comparable<jet.CharSequence?>?): jet.Unit
|
||||
public abstract fun f(/*0*/ p0: kotlin.Collection<kotlin.CharSequence?>?): kotlin.Unit
|
||||
public abstract fun f(/*0*/ p0: kotlin.Comparable<kotlin.CharSequence?>?): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@ package test
|
||||
|
||||
public final class TwoFields : java.lang.Object {
|
||||
public constructor TwoFields()
|
||||
public final var a: jet.Int
|
||||
public final var b: jet.Short
|
||||
public final var a: kotlin.Int
|
||||
public final var b: kotlin.Short
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@ package test
|
||||
|
||||
public final class UnboundWildcard : java.lang.Object {
|
||||
public constructor UnboundWildcard()
|
||||
public final fun foo(): test.UnboundWildcard.MyClass<out jet.CharSequence?>?
|
||||
public final fun foo(): test.UnboundWildcard.MyClass<out kotlin.CharSequence?>?
|
||||
|
||||
public trait MyClass</*0*/ T : jet.CharSequence?> : java.lang.Object {
|
||||
public trait MyClass</*0*/ T : kotlin.CharSequence?> : java.lang.Object {
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
test.AnnotatedAnnotation() public final annotation class AnnotatedAnnotation : jet.Annotation {
|
||||
test.AnnotatedAnnotation() public final annotation class AnnotatedAnnotation : kotlin.Annotation {
|
||||
public constructor AnnotatedAnnotation()
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class AnnotatedMethod : java.lang.Object {
|
||||
public constructor AnnotatedMethod()
|
||||
jet.deprecated(value = "Deprecated in Java": jet.String) public open fun f(): jet.Unit
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open fun f(): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public final annotation class SimpleAnnotation : jet.Annotation {
|
||||
public final annotation class SimpleAnnotation : kotlin.Annotation {
|
||||
public constructor SimpleAnnotation()
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorGenericDeep : java.lang.Object {
|
||||
public constructor ConstructorGenericDeep(/*0*/ p0: java.lang.Class<jet.Any?>?)
|
||||
public constructor ConstructorGenericDeep(/*0*/ p0: java.lang.Class<kotlin.Any?>?)
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorGenericSimple : java.lang.Object {
|
||||
public constructor ConstructorGenericSimple(/*0*/ p0: jet.Any?)
|
||||
public constructor ConstructorGenericSimple(/*0*/ p0: kotlin.Any?)
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,6 +2,6 @@ package test
|
||||
|
||||
public open class DifferentGetterAndSetter : java.lang.Object {
|
||||
public constructor DifferentGetterAndSetter()
|
||||
public open fun getSomething(): jet.Int
|
||||
public open fun setSomething(/*0*/ p0: jet.String?): jet.Unit
|
||||
public open fun getSomething(): kotlin.Int
|
||||
public open fun setSomething(/*0*/ p0: kotlin.String?): kotlin.Unit
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public trait JavaBeanAbstractGetter : java.lang.Object {
|
||||
public abstract fun getBlue(): jet.Int
|
||||
public abstract fun getRed(): jet.Int
|
||||
public abstract fun getBlue(): kotlin.Int
|
||||
public abstract fun getRed(): kotlin.Int
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class JavaBeanVal : java.lang.Object {
|
||||
public constructor JavaBeanVal()
|
||||
public open fun getColor(): jet.String?
|
||||
public open fun getColor(): kotlin.String?
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@ package test
|
||||
|
||||
public open class JavaBeanVar : java.lang.Object {
|
||||
public constructor JavaBeanVar()
|
||||
public open fun getColor(): jet.String?
|
||||
public open fun setColor(/*0*/ p0: jet.String?): jet.Unit
|
||||
public open fun getColor(): kotlin.String?
|
||||
public open fun setColor(/*0*/ p0: kotlin.String?): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,5 +3,5 @@ package test
|
||||
public open class JavaBeanVarOfGenericType</*0*/ P> : java.lang.Object {
|
||||
public constructor JavaBeanVarOfGenericType</*0*/ P>()
|
||||
public open fun getCharacters(): java.util.ArrayList<P>?
|
||||
public open fun setCharacters(/*0*/ p0: java.util.ArrayList<P>?): jet.Unit
|
||||
public open fun setCharacters(/*0*/ p0: java.util.ArrayList<P>?): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@ package test
|
||||
|
||||
public open class TwoSetters : java.lang.Object {
|
||||
public constructor TwoSetters()
|
||||
public open fun setSize(/*0*/ p0: jet.Int): jet.Unit
|
||||
public open fun setSize(/*0*/ p0: jet.String?): jet.Unit
|
||||
public open fun setSize(/*0*/ p0: kotlin.Int): kotlin.Unit
|
||||
public open fun setSize(/*0*/ p0: kotlin.String?): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class ArrayType : java.lang.Object {
|
||||
public constructor ArrayType()
|
||||
public open fun foo(): jet.Array<jet.String>
|
||||
public open fun foo(): kotlin.Array<kotlin.String>
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,4 +7,4 @@ public class ConstructorWithNewTypeParams<T> {
|
||||
@KotlinSignature("fun ConstructorWithNewTypeParams(first : Any)") // TODO: first : U doesn't work
|
||||
public <U>ConstructorWithNewTypeParams(U first) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithNewTypeParams<T>(p0 : Any) : java.lang.Object() {
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithNewTypeParams</*0*/ T> : java.lang.Object {
|
||||
public constructor ConstructorWithNewTypeParams</*0*/ T>(/*0*/ p0: jet.Any)
|
||||
public constructor ConstructorWithNewTypeParams</*0*/ T>(/*0*/ p0: kotlin.Any)
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,4 +7,4 @@ public class ConstructorWithParentTypeParams<T> {
|
||||
@KotlinSignature("fun ConstructorWithParentTypeParams(first: T)")
|
||||
public ConstructorWithParentTypeParams(T first) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithParentTypeParams<T>(p0 : T) : java.lang.Object() {
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,4 +7,4 @@ public class ConstructorWithSeveralParams {
|
||||
@KotlinSignature("fun ConstructorWithSeveralParams(integer : Int, intField : Int, collection: ArrayList<String>)")
|
||||
public ConstructorWithSeveralParams(Integer integer, int intBasic, ArrayList<String> collection) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@ package test
|
||||
import java.util.*
|
||||
|
||||
public open class ConstructorWithSeveralParams(p0: Int, p1 : Int, p2 : ArrayList<String>) : java.lang.Object() {
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithSeveralParams : java.lang.Object {
|
||||
public constructor ConstructorWithSeveralParams(/*0*/ p0: jet.Int, /*1*/ p1: jet.Int, /*2*/ p2: java.util.ArrayList<jet.String>)
|
||||
public constructor ConstructorWithSeveralParams(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int, /*2*/ p2: java.util.ArrayList<kotlin.String>)
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,4 +7,4 @@ public class ConstructorWithoutParams {
|
||||
@KotlinSignature("fun ConstructorWithoutParams()")
|
||||
public ConstructorWithoutParams() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithoutParams() : java.lang.Object() {
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class CustomProjectionKind : java.lang.Object {
|
||||
public constructor CustomProjectionKind()
|
||||
public open fun foo(): jet.MutableList<out jet.Number>
|
||||
public open fun foo(): kotlin.MutableList<out kotlin.Number>
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import java.lang.String;
|
||||
import java.lang.UnsupportedOperationException;
|
||||
import java.util.*;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import jet.*;
|
||||
import kotlin.*;
|
||||
|
||||
public class MethodWithFunctionTypes {
|
||||
@KotlinSignature("fun foo(f : (String?) -> String) : (String.() -> String?)?")
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MethodWithFunctionTypes : java.lang.Object {
|
||||
public constructor MethodWithFunctionTypes()
|
||||
public open fun foo(/*0*/ p0: (jet.String?) -> jet.String): (jet.String.() -> jet.String?)?
|
||||
public open fun foo(/*0*/ p0: (kotlin.String?) -> kotlin.String): (kotlin.String.() -> kotlin.String?)?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MethodWithGenerics : java.lang.Object {
|
||||
public constructor MethodWithGenerics()
|
||||
public open fun foo(/*0*/ p0: jet.String, /*1*/ p1: jet.List<jet.Map.Entry<jet.String?, jet.String>?>): jet.String
|
||||
public open fun foo(/*0*/ p0: kotlin.String, /*1*/ p1: kotlin.List<kotlin.Map.Entry<kotlin.String?, kotlin.String>?>): kotlin.String
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MethodWithMappedClasses : java.lang.Object {
|
||||
public constructor MethodWithMappedClasses()
|
||||
public open fun </*0*/ T> copy(/*0*/ p0: jet.MutableList<in T>, /*1*/ p1: jet.List<T>): jet.Unit
|
||||
public open fun </*0*/ T> copy(/*0*/ p0: kotlin.MutableList<in T>, /*1*/ p1: kotlin.List<T>): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MethodWithTypeParameters : java.lang.Object {
|
||||
public constructor MethodWithTypeParameters()
|
||||
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable> foo(/*0*/ p0: A, /*1*/ p1: jet.List<B>, /*2*/ p2: jet.MutableList<in jet.String?>): jet.Unit where B : jet.List<java.lang.Cloneable>
|
||||
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable> foo(/*0*/ p0: A, /*1*/ p1: kotlin.List<B>, /*2*/ p2: kotlin.MutableList<in kotlin.String?>): kotlin.Unit where B : kotlin.List<java.lang.Cloneable>
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MethodWithVararg : java.lang.Object {
|
||||
public constructor MethodWithVararg()
|
||||
public open fun foo(/*0*/ vararg p0: jet.String /*jet.Array<jet.String>*/): jet.Unit
|
||||
public open fun foo(/*0*/ vararg p0: kotlin.String /*kotlin.Array<kotlin.String>*/): kotlin.Unit
|
||||
}
|
||||
|
||||
+3
-3
@@ -2,7 +2,7 @@ package test
|
||||
|
||||
public open class PropertyArrayTypes</*0*/ T> : java.lang.Object {
|
||||
public constructor PropertyArrayTypes</*0*/ T>()
|
||||
public final var array: jet.Array<jet.String>
|
||||
public final var arrayOfArrays: jet.Array<jet.Array<jet.String>>
|
||||
public final var genericArray: jet.Array<T>
|
||||
public final var array: kotlin.Array<kotlin.String>
|
||||
public final var arrayOfArrays: kotlin.Array<kotlin.Array<kotlin.String>>
|
||||
public final var genericArray: kotlin.Array<T>
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package test
|
||||
public open class PropertyComplexTypes</*0*/ T> : java.lang.Object {
|
||||
public constructor PropertyComplexTypes</*0*/ T>()
|
||||
public final var genericType: T
|
||||
public final var listDefinedGeneric: java.util.ArrayList<jet.String>
|
||||
public final var listDefinedGeneric: java.util.ArrayList<kotlin.String>
|
||||
public final var listGeneric: java.util.ArrayList<T>
|
||||
public final var listOfGenericList: java.util.ArrayList<java.util.ArrayList<T>>
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,6 +2,6 @@ package test
|
||||
|
||||
public open class PropertySimpleType : java.lang.Object {
|
||||
public constructor PropertySimpleType()
|
||||
public final var fieldOne: jet.String
|
||||
public final var fieldTwo: jet.String?
|
||||
public final var fieldOne: kotlin.String
|
||||
public final var fieldTwo: kotlin.String?
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,8 +2,8 @@ package test
|
||||
|
||||
public final class StarProjection : java.lang.Object {
|
||||
public constructor StarProjection()
|
||||
public final fun foo(): test.StarProjection.MyClass<out jet.CharSequence?>
|
||||
public final fun foo(): test.StarProjection.MyClass<out kotlin.CharSequence?>
|
||||
|
||||
public trait MyClass</*0*/ T : jet.CharSequence?> : java.lang.Object {
|
||||
public trait MyClass</*0*/ T : kotlin.CharSequence?> : java.lang.Object {
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class AddingNullability {
|
||||
@ExpectLoadError("Auto type 'jet.Int' is not-null, while type in alternative signature is nullable: 'Int?'")
|
||||
@ExpectLoadError("Auto type 'kotlin.Int' is not-null, while type in alternative signature is nullable: 'Int?'")
|
||||
@KotlinSignature("fun foo() : Int?")
|
||||
public int foo() {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class AddingNullability : java.lang.Object {
|
||||
public constructor AddingNullability()
|
||||
public open fun foo(): jet.Int
|
||||
public open fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class ConflictingProjectionKind {
|
||||
@ExpectLoadError("Projection kind 'in' is conflicting with variance of jet.List")
|
||||
@ExpectLoadError("Projection kind 'in' is conflicting with variance of kotlin.List")
|
||||
@KotlinSignature("fun foo(list: List<in Number>)")
|
||||
public void foo(List<Number> list) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class ConflictingProjectionKind : java.lang.Object {
|
||||
public constructor ConflictingProjectionKind()
|
||||
public open fun foo(/*0*/ p0: jet.List<jet.Number>?): jet.Unit
|
||||
public open fun foo(/*0*/ p0: kotlin.List<kotlin.Number>?): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class ExplicitFieldGettersAndSetters : java.lang.Object {
|
||||
public constructor ExplicitFieldGettersAndSetters()
|
||||
public final var foo: jet.String?
|
||||
public final var foo: kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class ExtraUpperBound : java.lang.Object {
|
||||
public constructor ExtraUpperBound()
|
||||
public open fun </*0*/ A : java.lang.Runnable?> foo(): jet.String?
|
||||
public open fun </*0*/ A : java.lang.Runnable?> foo(): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MissingUpperBound : java.lang.Object {
|
||||
public constructor MissingUpperBound()
|
||||
public open fun </*0*/ A : java.lang.Runnable?> foo(): jet.String? where A : java.lang.Cloneable?
|
||||
public open fun </*0*/ A : java.lang.Runnable?> foo(): kotlin.String? where A : java.lang.Cloneable?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class NoFieldTypeRef : java.lang.Object {
|
||||
public constructor NoFieldTypeRef()
|
||||
public final var foo: jet.String?
|
||||
public final var foo: kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class NotVarargReplacedWithVararg : java.lang.Object {
|
||||
public constructor NotVarargReplacedWithVararg()
|
||||
public open fun foo(/*0*/ p0: jet.String?): jet.Unit
|
||||
public open fun foo(/*0*/ p0: kotlin.String?): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class RedundantProjectionKind : java.lang.Object {
|
||||
public constructor RedundantProjectionKind()
|
||||
public open fun foo(/*0*/ p0: jet.List<jet.Number>): jet.Unit
|
||||
public open fun foo(/*0*/ p0: kotlin.List<kotlin.Number>): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class ReturnTypeMissing {
|
||||
@ExpectLoadError("Return type in alternative signature is missing, while in real signature it is 'jet.Int'")
|
||||
@ExpectLoadError("Return type in alternative signature is missing, while in real signature it is 'kotlin.Int'")
|
||||
@KotlinSignature("fun foo(a : String)")
|
||||
public int foo(String a) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class ReturnTypeMissing : java.lang.Object {
|
||||
public constructor ReturnTypeMissing()
|
||||
public open fun foo(/*0*/ p0: jet.String?): jet.Int
|
||||
public open fun foo(/*0*/ p0: kotlin.String?): kotlin.Int
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class SyntaxError : java.lang.Object {
|
||||
public constructor SyntaxError()
|
||||
public open fun foo(): jet.Int?
|
||||
public open fun foo(): kotlin.Int?
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,4 +4,4 @@ import java.util.*
|
||||
|
||||
public open class SyntaxErrorInFieldAnnotation : Object() {
|
||||
public var foo : String? = ""
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class SyntaxErrorInFieldAnnotation : java.lang.Object {
|
||||
public constructor SyntaxErrorInFieldAnnotation()
|
||||
public final var foo: jet.String?
|
||||
public final var foo: kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class VarargReplacedWithNotVararg : java.lang.Object {
|
||||
public constructor VarargReplacedWithNotVararg()
|
||||
public open fun foo(/*0*/ vararg p0: jet.String? /*jet.Array<jet.String?>*/): jet.Unit
|
||||
public open fun foo(/*0*/ vararg p0: kotlin.String? /*kotlin.Array<kotlin.String?>*/): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongFieldInitializer : java.lang.Object {
|
||||
public constructor WrongFieldInitializer()
|
||||
public final var foo: jet.String?
|
||||
public final var foo: kotlin.String?
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,6 +2,6 @@ package test
|
||||
|
||||
public open class WrongFieldMutability : java.lang.Object {
|
||||
public constructor WrongFieldMutability()
|
||||
public final val fooFinal: jet.String?
|
||||
public final var fooNotFinal: jet.String?
|
||||
public final val fooFinal: kotlin.String?
|
||||
public final var fooNotFinal: kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongFieldName : java.lang.Object {
|
||||
public constructor WrongFieldName()
|
||||
public final var foo: jet.String?
|
||||
public final var foo: kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongMethodName : java.lang.Object {
|
||||
public constructor WrongMethodName()
|
||||
public open fun foo(): jet.String?
|
||||
public open fun foo(): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongProjectionKind : java.lang.Object {
|
||||
public constructor WrongProjectionKind()
|
||||
public open fun copy(/*0*/ p0: jet.Array<out jet.Number>?, /*1*/ p1: jet.Array<out jet.Number>?): jet.MutableList<jet.Number>?
|
||||
public open fun copy(/*0*/ p0: kotlin.Array<out kotlin.Number>?, /*1*/ p1: kotlin.Array<out kotlin.Number>?): kotlin.MutableList<kotlin.Number>?
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongReturnTypeStructure {
|
||||
@ExpectLoadError("'jet.String?' type in method signature has 0 type arguments, while 'String<Int>' in alternative signature has 1 of them")
|
||||
@ExpectLoadError("'kotlin.String?' type in method signature has 0 type arguments, while 'String<Int>' in alternative signature has 1 of them")
|
||||
@KotlinSignature("fun foo(a : String, b : List<Map.Entry<String?, String>?>) : String<Int>?")
|
||||
public String foo(String a, List<Map.Entry<String, String>> b) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongReturnTypeStructure : java.lang.Object {
|
||||
public constructor WrongReturnTypeStructure()
|
||||
public open fun foo(/*0*/ p0: jet.String?, /*1*/ p1: jet.List<jet.Map.Entry<jet.String, jet.String>>?): jet.String?
|
||||
public open fun foo(/*0*/ p0: kotlin.String?, /*1*/ p1: kotlin.List<kotlin.Map.Entry<kotlin.String, kotlin.String>>?): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongTypeName1 {
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: Unit, actual: jet.String")
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: Unit, actual: kotlin.String")
|
||||
@KotlinSignature("fun foo(a : String) : Unit")
|
||||
public String foo(String a) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongTypeName1 : java.lang.Object {
|
||||
public constructor WrongTypeName1()
|
||||
public open fun foo(/*0*/ p0: jet.String?): jet.String?
|
||||
public open fun foo(/*0*/ p0: kotlin.String?): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongTypeName2 {
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: Something.String, actual: jet.String")
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: Something.String, actual: kotlin.String")
|
||||
@KotlinSignature("fun foo(a : Something.String) : String")
|
||||
public String foo(String a) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongTypeName2 : java.lang.Object {
|
||||
public constructor WrongTypeName2()
|
||||
public open fun foo(/*0*/ p0: jet.String?): jet.String?
|
||||
public open fun foo(/*0*/ p0: kotlin.String?): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongTypeName3 {
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: List, actual: jet.String")
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: List, actual: kotlin.String")
|
||||
@KotlinSignature("fun foo(a : String) : List")
|
||||
public String foo(String a) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongTypeName3 : java.lang.Object {
|
||||
public constructor WrongTypeName3()
|
||||
public open fun foo(/*0*/ p0: jet.String?): jet.String?
|
||||
public open fun foo(/*0*/ p0: kotlin.String?): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongTypeParameterBoundStructure1 : java.lang.Object {
|
||||
public constructor WrongTypeParameterBoundStructure1()
|
||||
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable?> foo(/*0*/ p0: A?, /*1*/ p1: jet.List<B>?): jet.Unit where B : jet.List<java.lang.Cloneable>?
|
||||
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable?> foo(/*0*/ p0: A?, /*1*/ p1: kotlin.List<B>?): kotlin.Unit where B : kotlin.List<java.lang.Cloneable>?
|
||||
}
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongTypeParameterBoundStructure2 {
|
||||
@ExpectLoadError("'jet.List<java.lang.Cloneable>?' type in method signature has 1 type arguments, while 'List' in alternative signature has 0 of them")
|
||||
@ExpectLoadError("'kotlin.List<java.lang.Cloneable>?' type in method signature has 1 type arguments, while 'List' in alternative signature has 0 of them")
|
||||
@KotlinSignature("fun <A, B : Runnable> foo(a : A, b : List<B>) where B : List")
|
||||
public <A, B extends Runnable & List<Cloneable>> void foo(A a, List<? extends B> b) {
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongTypeParameterBoundStructure2 : java.lang.Object {
|
||||
public constructor WrongTypeParameterBoundStructure2()
|
||||
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable?> foo(/*0*/ p0: A?, /*1*/ p1: jet.List<B>?): jet.Unit where B : jet.List<java.lang.Cloneable>?
|
||||
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable?> foo(/*0*/ p0: A?, /*1*/ p1: kotlin.List<B>?): kotlin.Unit where B : kotlin.List<java.lang.Cloneable>?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongTypeParametersCount : java.lang.Object {
|
||||
public constructor WrongTypeParametersCount()
|
||||
public open fun </*0*/ A, /*1*/ B> foo(/*0*/ p0: A?, /*1*/ p1: jet.List<B>?): jet.Unit
|
||||
public open fun </*0*/ A, /*1*/ B> foo(/*0*/ p0: A?, /*1*/ p1: kotlin.List<B>?): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongValueParameterStructure1 {
|
||||
@ExpectLoadError("'jet.String?' type in method signature has 0 type arguments, while 'String<Int?>' in alternative signature has 1 of them")
|
||||
@ExpectLoadError("'kotlin.String?' type in method signature has 0 type arguments, while 'String<Int?>' in alternative signature has 1 of them")
|
||||
@KotlinSignature("fun foo(a : String<Int?>, b : List<Map.Entry<String?, String>?>) : String")
|
||||
public String foo(String a, List<Map.Entry<String, String>> b) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongValueParameterStructure1 : java.lang.Object {
|
||||
public constructor WrongValueParameterStructure1()
|
||||
public open fun foo(/*0*/ p0: jet.String?, /*1*/ p1: jet.List<jet.Map.Entry<jet.String, jet.String>>?): jet.String?
|
||||
public open fun foo(/*0*/ p0: kotlin.String?, /*1*/ p1: kotlin.List<kotlin.Map.Entry<kotlin.String, kotlin.String>>?): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongValueParameterStructure2 {
|
||||
@ExpectLoadError("'jet.Map.Entry<jet.String, jet.String>' type in method signature has 2 type arguments, while 'Map.Entry<String?>' in alternative signature has 1 of them")
|
||||
@ExpectLoadError("'kotlin.Map.Entry<kotlin.String, kotlin.String>' type in method signature has 2 type arguments, while 'Map.Entry<String?>' in alternative signature has 1 of them")
|
||||
@KotlinSignature("fun foo(a : String, b : List<Map.Entry<String?>?>) : String")
|
||||
public String foo(String a, List<Map.Entry<String, String>> b) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongValueParameterStructure2 : java.lang.Object {
|
||||
public constructor WrongValueParameterStructure2()
|
||||
public open fun foo(/*0*/ p0: jet.String?, /*1*/ p1: jet.List<jet.Map.Entry<jet.String, jet.String>>?): jet.String?
|
||||
public open fun foo(/*0*/ p0: kotlin.String?, /*1*/ p1: kotlin.List<kotlin.Map.Entry<kotlin.String, kotlin.String>>?): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongValueParametersCount : java.lang.Object {
|
||||
public constructor WrongValueParametersCount()
|
||||
public open fun foo(): jet.Int?
|
||||
public open fun foo(): kotlin.Int?
|
||||
}
|
||||
|
||||
+12
-12
@@ -3,20 +3,20 @@ package test
|
||||
public trait PropagateTypeArgumentNullable : java.lang.Object {
|
||||
|
||||
public trait Sub : test.PropagateTypeArgumentNullable.Super {
|
||||
public abstract override /*1*/ fun invOutR(): jet.MutableList<jet.List<jet.String?>>
|
||||
public abstract override /*1*/ fun invOutS(/*0*/ p0: jet.MutableList<jet.List<jet.String?>>): jet.Unit
|
||||
public abstract override /*1*/ fun invR(): jet.MutableList<jet.String?>
|
||||
public abstract override /*1*/ fun outOutS(/*0*/ p0: jet.List<jet.List<jet.String?>>): jet.Unit
|
||||
public abstract override /*1*/ fun outR(): jet.List<jet.String?>
|
||||
public abstract override /*1*/ fun outS(/*0*/ p0: jet.List<jet.String?>): jet.Unit
|
||||
public abstract override /*1*/ fun invOutR(): kotlin.MutableList<kotlin.List<kotlin.String?>>
|
||||
public abstract override /*1*/ fun invOutS(/*0*/ p0: kotlin.MutableList<kotlin.List<kotlin.String?>>): kotlin.Unit
|
||||
public abstract override /*1*/ fun invR(): kotlin.MutableList<kotlin.String?>
|
||||
public abstract override /*1*/ fun outOutS(/*0*/ p0: kotlin.List<kotlin.List<kotlin.String?>>): kotlin.Unit
|
||||
public abstract override /*1*/ fun outR(): kotlin.List<kotlin.String?>
|
||||
public abstract override /*1*/ fun outS(/*0*/ p0: kotlin.List<kotlin.String?>): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun invOutR(): jet.MutableList<jet.List<jet.String?>>
|
||||
public abstract fun invOutS(/*0*/ p0: jet.MutableList<jet.List<jet.String?>>): jet.Unit
|
||||
public abstract fun invR(): jet.MutableList<jet.String?>
|
||||
public abstract fun outOutS(/*0*/ p0: jet.List<jet.List<jet.String?>>): jet.Unit
|
||||
public abstract fun outR(): jet.List<jet.String?>
|
||||
public abstract fun outS(/*0*/ p0: jet.List<jet.String?>): jet.Unit
|
||||
public abstract fun invOutR(): kotlin.MutableList<kotlin.List<kotlin.String?>>
|
||||
public abstract fun invOutS(/*0*/ p0: kotlin.MutableList<kotlin.List<kotlin.String?>>): kotlin.Unit
|
||||
public abstract fun invR(): kotlin.MutableList<kotlin.String?>
|
||||
public abstract fun outOutS(/*0*/ p0: kotlin.List<kotlin.List<kotlin.String?>>): kotlin.Unit
|
||||
public abstract fun outR(): kotlin.List<kotlin.String?>
|
||||
public abstract fun outS(/*0*/ p0: kotlin.List<kotlin.String?>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -19,4 +19,4 @@ public interface ChangeProjectionKind1 {
|
||||
@KotlinSignature("fun foo(p: MutableList<String>)")
|
||||
void foo(List<String> p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -11,4 +11,4 @@ public trait ChangeProjectionKind1: Object {
|
||||
public trait Sub: Super {
|
||||
override fun foo(p0: MutableList<in String>)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user