Test data split between compiledJava tests and compiledKotlin tests

Basically, this commit splits test data from the from java-txt-kt to two pairs java-txt and kt-txt.
This commit leads to some duplication in test data.
This is temporary: in the platform types branch the test data for LoadJava tests will be changed dramatically, so duplication will go away
This commit is contained in:
Andrey Breslav
2014-08-15 17:07:35 +04:00
parent 1533c0e9f3
commit 1933e30905
711 changed files with 6824 additions and 4231 deletions
@@ -0,0 +1,7 @@
package test
public class ArrayTypeVariance {
public fun toArray(p0: Array<out Any>?): Array<Any>? {
throw UnsupportedOperationException()
}
}
@@ -0,0 +1,6 @@
package test
public final class ArrayTypeVariance {
/*primary*/ public constructor ArrayTypeVariance()
public final fun toArray(/*0*/ p0: kotlin.Array<out kotlin.Any>?): kotlin.Array<kotlin.Any>?
}
@@ -0,0 +1,4 @@
package test
public abstract class ClassDoesNotOverrideMethod() : java.util.Date() {
}
@@ -0,0 +1,35 @@
package test
public abstract class ClassDoesNotOverrideMethod : java.util.Date {
/*primary*/ public constructor ClassDoesNotOverrideMethod()
invisible_fake final override /*1*/ /*fake_override*/ var cdate: sun.util.calendar.BaseCalendar.Date?
invisible_fake final override /*1*/ /*fake_override*/ var fastTime: kotlin.Long
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 clone(): kotlin.Any
public open override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: java.util.Date): kotlin.Int
invisible_fake final override /*1*/ /*fake_override*/ fun getCalendarDate(): sun.util.calendar.BaseCalendar.Date?
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
invisible_fake final override /*1*/ /*fake_override*/ fun getTimeImpl(): 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
invisible_fake final override /*1*/ /*fake_override*/ fun normalize(): sun.util.calendar.BaseCalendar.Date?
invisible_fake final override /*1*/ /*fake_override*/ fun normalize(/*0*/ p0: sun.util.calendar.BaseCalendar.Date?): sun.util.calendar.BaseCalendar.Date?
invisible_fake open override /*1*/ /*fake_override*/ fun readObject(/*0*/ p0: java.io.ObjectInputStream?): kotlin.Unit
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
invisible_fake open override /*1*/ /*fake_override*/ fun writeObject(/*0*/ p0: java.io.ObjectOutputStream?): kotlin.Unit
}
@@ -0,0 +1,6 @@
package test
trait TheTrait {
class object {
}
}
@@ -0,0 +1,8 @@
package test
internal trait TheTrait {
internal class object <class-object-for-TheTrait> {
/*primary*/ private constructor <class-object-for-TheTrait>()
}
}
@@ -0,0 +1,6 @@
package test
public class ClassWithConstVal() {
public val f: Int = 1
public val f2: Int = f
}
@@ -0,0 +1,9 @@
package test
public final class ClassWithConstVal {
/*primary*/ public constructor ClassWithConstVal()
public final val f: kotlin.Int = 1
public final fun <get-f>(): kotlin.Int
public final val f2: kotlin.Int = 1
public final fun <get-f2>(): kotlin.Int
}
@@ -0,0 +1,4 @@
package test
public class ClassWithTypeP<P>() {
}
@@ -0,0 +1,5 @@
package test
public final class ClassWithTypeP</*0*/ P> {
/*primary*/ public constructor ClassWithTypeP</*0*/ P>()
}
@@ -0,0 +1,4 @@
package test
public abstract class ClassWithTypePExtendsIterableP<P>() : kotlin.MutableIterable<P> {
}
@@ -0,0 +1,6 @@
package test
public abstract class ClassWithTypePExtendsIterableP</*0*/ P> : kotlin.MutableIterable<P> {
/*primary*/ public constructor ClassWithTypePExtendsIterableP</*0*/ P>()
public abstract override /*1*/ /*fake_override*/ fun iterator(): kotlin.MutableIterator<P>
}
@@ -0,0 +1,4 @@
package test
public class ClassWithTypePP<P, Q : P>() {
}
@@ -0,0 +1,5 @@
package test
public final class ClassWithTypePP</*0*/ P, /*1*/ Q : P> {
/*primary*/ public constructor ClassWithTypePP</*0*/ P, /*1*/ Q : P>()
}
@@ -0,0 +1,3 @@
package test
public open class ClassWithTypePRefNext<R : kotlin.Iterable<P>?, P>()
@@ -0,0 +1,5 @@
package test
public open class ClassWithTypePRefNext</*0*/ R : kotlin.Iterable<P>?, /*1*/ P> {
/*primary*/ public constructor ClassWithTypePRefNext</*0*/ R : kotlin.Iterable<P>?, /*1*/ P>()
}
@@ -0,0 +1,4 @@
package test
public class ClassWithTypePRefSelf<P : kotlin.Enum<P>?>() {
}
@@ -0,0 +1,5 @@
package test
public final class ClassWithTypePRefSelf</*0*/ P : kotlin.Enum<P>?> {
/*primary*/ public constructor ClassWithTypePRefSelf</*0*/ P : kotlin.Enum<P>?>()
}
@@ -0,0 +1,4 @@
package test
public class ClassWithTypePRefSelfAndClass<P: ClassWithTypePRefSelfAndClass<P>?>() {
}
@@ -0,0 +1,5 @@
package test
public final class ClassWithTypePRefSelfAndClass</*0*/ P : test.ClassWithTypePRefSelfAndClass<P>?> {
/*primary*/ public constructor ClassWithTypePRefSelfAndClass</*0*/ P : test.ClassWithTypePRefSelfAndClass<P>?>()
}
@@ -0,0 +1,5 @@
package test
public class FieldAsVar() {
public var f: Int = 1
}
@@ -0,0 +1,8 @@
package test
public final class FieldAsVar {
/*primary*/ public constructor FieldAsVar()
public final var f: kotlin.Int
public final fun <get-f>(): kotlin.Int
public final fun <set-f>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
}
@@ -0,0 +1,5 @@
package test
public open class FieldOfArrayType() {
public var files: Array<java.io.File>? = null
}
@@ -0,0 +1,8 @@
package test
public open class FieldOfArrayType {
/*primary*/ public constructor FieldOfArrayType()
public final var files: kotlin.Array<java.io.File>?
public final fun <get-files>(): kotlin.Array<java.io.File>?
public final fun <set-files>(/*0*/ <set-?>: kotlin.Array<java.io.File>?): kotlin.Unit
}
@@ -0,0 +1,6 @@
//ALLOW_AST_ACCESS
package test
public class FinalFieldAsVal() {
public val f: Int = 1
}
@@ -0,0 +1,7 @@
package test
public final class FinalFieldAsVal {
/*primary*/ public constructor FinalFieldAsVal()
public final val f: kotlin.Int = 1
public final fun <get-f>(): kotlin.Int
}
@@ -0,0 +1,16 @@
package test
public class InheritMethodsDifferentReturnTypes {
public trait Super1 {
public fun foo(): CharSequence?
public fun bar(): String?
}
public trait Super2 {
public fun foo(): String?
public fun bar(): CharSequence?
}
public trait Sub: Super1, Super2 {
}
}
@@ -0,0 +1,20 @@
package test
public final class InheritMethodsDifferentReturnTypes {
/*primary*/ public constructor InheritMethodsDifferentReturnTypes()
public trait Sub : test.InheritMethodsDifferentReturnTypes.Super1, test.InheritMethodsDifferentReturnTypes.Super2 {
public abstract override /*2*/ /*fake_override*/ fun bar(): kotlin.String?
public abstract override /*2*/ /*fake_override*/ fun foo(): kotlin.String?
}
public trait Super1 {
public abstract fun bar(): kotlin.String?
public abstract fun foo(): kotlin.CharSequence?
}
public trait Super2 {
public abstract fun bar(): kotlin.CharSequence?
public abstract fun foo(): kotlin.String?
}
}
@@ -0,0 +1,16 @@
package test
public class InheritMethodsDifferentReturnTypesGeneric {
public trait Super1<F, B> {
public fun foo(): F?
public fun bar(): B?
}
public trait Super2<FF, BB> {
public fun foo(): FF?
public fun bar(): BB?
}
public trait Sub: Super1<String, CharSequence>, Super2<CharSequence, String> {
}
}
@@ -0,0 +1,20 @@
package test
public final class InheritMethodsDifferentReturnTypesGeneric {
/*primary*/ public constructor InheritMethodsDifferentReturnTypesGeneric()
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> {
public abstract fun bar(): B?
public abstract fun foo(): F?
}
public trait Super2</*0*/ FF, /*1*/ BB> {
public abstract fun bar(): BB?
public abstract fun foo(): FF?
}
}
@@ -0,0 +1,5 @@
package test
public open class InnerClass() {
public inner open class Inner()
}
@@ -0,0 +1,9 @@
package test
public open class InnerClass {
/*primary*/ public constructor InnerClass()
public open inner class Inner {
/*primary*/ public constructor Inner()
}
}
@@ -0,0 +1,5 @@
package test
public open class MethodTypePOneUpperBound() {
public open fun <T : Cloneable?> bar() : Unit = Unit
}
@@ -0,0 +1,6 @@
package test
public open class MethodTypePOneUpperBound {
/*primary*/ public constructor MethodTypePOneUpperBound()
public open fun </*0*/ T : kotlin.Cloneable?> bar(): kotlin.Unit
}
@@ -0,0 +1,6 @@
package test
public open class MethodTypePTwoUpperBounds() {
public open fun <T> foo(): Unit where T : Cloneable?, T : Runnable? {
}
}
@@ -0,0 +1,6 @@
package test
public open class MethodTypePTwoUpperBounds {
/*primary*/ public constructor MethodTypePTwoUpperBounds()
public open fun </*0*/ T : kotlin.Cloneable?> foo(): kotlin.Unit where T : java.lang.Runnable?
}
@@ -0,0 +1,5 @@
package test
public class MethodWithTypeP() {
public fun <P> f() : Unit = Unit
}
@@ -0,0 +1,6 @@
package test
public final class MethodWithTypeP {
/*primary*/ public constructor MethodWithTypeP()
public final fun </*0*/ P> f(): kotlin.Unit
}
@@ -0,0 +1,5 @@
package test
public class MethodWithTypePP() {
public fun <P, Q : P> f() : Unit = Unit
}
@@ -0,0 +1,6 @@
package test
public final class MethodWithTypePP {
/*primary*/ public constructor MethodWithTypePP()
public final fun </*0*/ P, /*1*/ Q : P> f(): kotlin.Unit
}
@@ -0,0 +1,5 @@
package test
public open class MethodWithTypePRefClassP<P>() {
public fun <Q : P> f() : Unit = Unit
}
@@ -0,0 +1,6 @@
package test
public open class MethodWithTypePRefClassP</*0*/ P> {
/*primary*/ public constructor MethodWithTypePRefClassP</*0*/ P>()
public final fun </*0*/ Q : P> f(): kotlin.Unit
}
@@ -0,0 +1,5 @@
package test
public final class MethosWithPRefTP() {
public fun <P> f(p0: P?) : Unit = Unit
}
@@ -0,0 +1,6 @@
package test
public final class MethosWithPRefTP {
/*primary*/ public constructor MethosWithPRefTP()
public final fun </*0*/ P> f(/*0*/ p0: P?): kotlin.Unit
}
@@ -0,0 +1,3 @@
package test
public open class MyException(p0: String?, p1: Throwable?)
@@ -0,0 +1,5 @@
package test
public open class MyException {
/*primary*/ public constructor MyException(/*0*/ p0: kotlin.String?, /*1*/ p1: kotlin.Throwable?)
}
@@ -0,0 +1,5 @@
package test
public open class NestedClass() {
public open class Nested()
}
@@ -0,0 +1,9 @@
package test
public open class NestedClass {
/*primary*/ public constructor NestedClass()
public open class Nested {
/*primary*/ public constructor Nested()
}
}
@@ -0,0 +1,6 @@
package test
public trait RemoveRedundantProjectionKind {
public fun f(p0: Collection<CharSequence?>?)
public fun f(p0: Comparable<CharSequence?>?)
}
@@ -0,0 +1,6 @@
package test
public trait RemoveRedundantProjectionKind {
public abstract fun f(/*0*/ p0: kotlin.Collection<kotlin.CharSequence?>?): kotlin.Unit
public abstract fun f(/*0*/ p0: kotlin.Comparable<kotlin.CharSequence?>?): kotlin.Unit
}
@@ -0,0 +1,3 @@
package test
public class Simple()
@@ -0,0 +1,5 @@
package test
public final class Simple {
/*primary*/ public constructor Simple()
}
@@ -0,0 +1,6 @@
package test
public class TwoFields() {
public var a: Int = 1
public var b: Short = 2;
}
@@ -0,0 +1,11 @@
package test
public final class TwoFields {
/*primary*/ public constructor TwoFields()
public final var a: kotlin.Int
public final fun <get-a>(): kotlin.Int
public final fun <set-a>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
public final var b: kotlin.Short
public final fun <get-b>(): kotlin.Short
public final fun <set-b>(/*0*/ <set-?>: kotlin.Short): kotlin.Unit
}
@@ -0,0 +1,7 @@
package test
public final class UnboundWildcard {
public final fun foo(): MyClass<*>? = throw UnsupportedOperationException()
public trait MyClass<T: CharSequence?>
}
@@ -0,0 +1,9 @@
package test
public final class UnboundWildcard {
/*primary*/ public constructor UnboundWildcard()
public final fun foo(): test.UnboundWildcard.MyClass<out kotlin.CharSequence?>?
public trait MyClass</*0*/ T : kotlin.CharSequence?> {
}
}
@@ -0,0 +1,7 @@
package test
class Some {
TestAnnotation class object {
annotation class TestAnnotation
}
}
@@ -0,0 +1,13 @@
package test
internal final class Some {
/*primary*/ public constructor Some()
test.Some.TestAnnotation() internal class object <class-object-for-Some> {
/*primary*/ private constructor <class-object-for-Some>()
internal final annotation class TestAnnotation : kotlin.Annotation {
/*primary*/ public constructor TestAnnotation()
}
}
}
@@ -0,0 +1,6 @@
package test
enum class Test(a : Int) {
A : Test(0)
B : Test(0) {}
}
@@ -0,0 +1,37 @@
package test
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: 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(): 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(): 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(): 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(): kotlin.String
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
}
}
}
@@ -0,0 +1,3 @@
package test
fun <T> foo(t : T) : T { null!! }
@@ -0,0 +1,3 @@
package test
internal fun </*0*/ T> foo(/*0*/ t: T): T
@@ -0,0 +1,9 @@
package test
import java.io.Serializable
public open class AllBoundsInWhen {
public open fun <T> foo() where T: Serializable {
throw UnsupportedOperationException()
}
}
@@ -0,0 +1,6 @@
package test
public open class AllBoundsInWhen {
/*primary*/ public constructor AllBoundsInWhen()
public open fun </*0*/ T : java.io.Serializable> foo(): kotlin.Unit
}
@@ -0,0 +1,7 @@
package test
public open class ArrayType {
public open fun foo(): Array<String> {
throw UnsupportedOperationException()
}
}
@@ -0,0 +1,6 @@
package test
public open class ArrayType {
/*primary*/ public constructor ArrayType()
public open fun foo(): kotlin.Array<kotlin.String>
}
@@ -0,0 +1,4 @@
package test
public open class ConstructorWithNewTypeParams<T>(first : Any) {
}
@@ -0,0 +1,5 @@
package test
public open class ConstructorWithNewTypeParams</*0*/ T> {
/*primary*/ public constructor ConstructorWithNewTypeParams</*0*/ T>(/*0*/ first: kotlin.Any)
}
@@ -0,0 +1,4 @@
package test
public open class ConstructorWithParentTypeParams<T>(first : T) {
}
@@ -0,0 +1,5 @@
package test
public open class ConstructorWithParentTypeParams</*0*/ T> {
/*primary*/ public constructor ConstructorWithParentTypeParams</*0*/ T>(/*0*/ first: T)
}
@@ -0,0 +1,6 @@
package test
import java.util.*
public open class ConstructorWithSeveralParams(integer: Int, intField : Int, collection : ArrayList<String>) {
}
@@ -0,0 +1,5 @@
package test
public open class ConstructorWithSeveralParams {
/*primary*/ public constructor ConstructorWithSeveralParams(/*0*/ integer: kotlin.Int, /*1*/ intField: kotlin.Int, /*2*/ collection: java.util.ArrayList<kotlin.String>)
}
@@ -0,0 +1,4 @@
package test
public open class ConstructorWithoutParams() {
}
@@ -0,0 +1,5 @@
package test
public open class ConstructorWithoutParams {
/*primary*/ public constructor ConstructorWithoutParams()
}
@@ -0,0 +1,7 @@
package test
import java.util.*
public open class CustomProjectionKind {
public open fun foo() : MutableList<out Number> = throw UnsupportedOperationException()
}
@@ -0,0 +1,6 @@
package test
public open class CustomProjectionKind {
/*primary*/ public constructor CustomProjectionKind()
public open fun foo(): kotlin.MutableList<out kotlin.Number>
}
@@ -0,0 +1,9 @@
package test
import java.util.*
public open class MethodWithFunctionTypes {
public open fun foo(f : (String?) -> String) : (String.() -> String?)? {
throw UnsupportedOperationException()
}
}
@@ -0,0 +1,6 @@
package test
public open class MethodWithFunctionTypes {
/*primary*/ public constructor MethodWithFunctionTypes()
public open fun foo(/*0*/ f: (kotlin.String?) -> kotlin.String): (kotlin.String.() -> kotlin.String?)?
}
@@ -0,0 +1,7 @@
package test
import java.util.*
public open class MethodWithGenerics {
public open fun foo(a : String, b : List<Map.Entry<String?, String>?>) : String = ""
}
@@ -0,0 +1,6 @@
package test
public open class MethodWithGenerics {
/*primary*/ public constructor MethodWithGenerics()
public open fun foo(/*0*/ a: kotlin.String, /*1*/ b: kotlin.List<kotlin.Map.Entry<kotlin.String?, kotlin.String>?>): kotlin.String
}
@@ -0,0 +1,7 @@
package test
import java.util.*
public open class MethodWithMappedClasses {
public open fun <T> copy(dest : MutableList<in T>, src : List<T>) {}
}
@@ -0,0 +1,6 @@
package test
public open class MethodWithMappedClasses {
/*primary*/ public constructor MethodWithMappedClasses()
public open fun </*0*/ T> copy(/*0*/ dest: kotlin.MutableList<in T>, /*1*/ src: kotlin.List<T>): kotlin.Unit
}
@@ -0,0 +1,8 @@
package test
import java.util.*
public open class MethodWithTypeParameters {
public open fun <A, B : Runnable> foo(a : A, b : List<B>, c: MutableList<in String?>) where B : List<Cloneable> {
}
}
@@ -0,0 +1,6 @@
package test
public open class MethodWithTypeParameters {
/*primary*/ public constructor MethodWithTypeParameters()
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable> foo(/*0*/ a: A, /*1*/ b: kotlin.List<B>, /*2*/ c: kotlin.MutableList<in kotlin.String?>): kotlin.Unit where B : kotlin.List<kotlin.Cloneable>
}
@@ -0,0 +1,9 @@
package test
import java.util.*
public open class MethodWithVararg {
public open fun foo(vararg s : String) {
throw UnsupportedOperationException()
}
}
@@ -0,0 +1,6 @@
package test
public open class MethodWithVararg {
/*primary*/ public constructor MethodWithVararg()
public open fun foo(/*0*/ vararg s: kotlin.String /*kotlin.Array<kotlin.String>*/): kotlin.Unit
}
@@ -0,0 +1,9 @@
package test
import java.util.*
public open class PropertyArrayTypes<T>() {
public var arrayOfArrays : Array<Array<String>> = null!!
public var array : Array<String> = null!!
public var genericArray : Array<T> = null!!
}
@@ -0,0 +1,14 @@
package test
public open class PropertyArrayTypes</*0*/ T> {
/*primary*/ public constructor PropertyArrayTypes</*0*/ T>()
public final var array: kotlin.Array<kotlin.String>
public final fun <get-array>(): kotlin.Array<kotlin.String>
public final fun <set-array>(/*0*/ <set-?>: kotlin.Array<kotlin.String>): kotlin.Unit
public final var arrayOfArrays: kotlin.Array<kotlin.Array<kotlin.String>>
public final fun <get-arrayOfArrays>(): kotlin.Array<kotlin.Array<kotlin.String>>
public final fun <set-arrayOfArrays>(/*0*/ <set-?>: kotlin.Array<kotlin.Array<kotlin.String>>): kotlin.Unit
public final var genericArray: kotlin.Array<T>
public final fun <get-genericArray>(): kotlin.Array<T>
public final fun <set-genericArray>(/*0*/ <set-?>: kotlin.Array<T>): kotlin.Unit
}
@@ -0,0 +1,10 @@
package test
import java.util.*
public open class PropertyComplexTypes<T>() {
public var genericType : T = null!!
public var listDefinedGeneric : ArrayList<String> = null!!
public var listGeneric : ArrayList<T> = null!!
public var listOfGenericList : ArrayList<ArrayList<T>> = null!!
}
@@ -0,0 +1,17 @@
package test
public open class PropertyComplexTypes</*0*/ T> {
/*primary*/ public constructor PropertyComplexTypes</*0*/ T>()
public final var genericType: T
public final fun <get-genericType>(): T
public final fun <set-genericType>(/*0*/ <set-?>: T): kotlin.Unit
public final var listDefinedGeneric: java.util.ArrayList<kotlin.String>
public final fun <get-listDefinedGeneric>(): java.util.ArrayList<kotlin.String>
public final fun <set-listDefinedGeneric>(/*0*/ <set-?>: java.util.ArrayList<kotlin.String>): kotlin.Unit
public final var listGeneric: java.util.ArrayList<T>
public final fun <get-listGeneric>(): java.util.ArrayList<T>
public final fun <set-listGeneric>(/*0*/ <set-?>: java.util.ArrayList<T>): kotlin.Unit
public final var listOfGenericList: java.util.ArrayList<java.util.ArrayList<T>>
public final fun <get-listOfGenericList>(): java.util.ArrayList<java.util.ArrayList<T>>
public final fun <set-listOfGenericList>(/*0*/ <set-?>: java.util.ArrayList<java.util.ArrayList<T>>): kotlin.Unit
}
@@ -0,0 +1,8 @@
package test
import java.util.*
public open class PropertySimpleType {
public var fieldOne : String = ""
public var fieldTwo : String? = null
}
@@ -0,0 +1,11 @@
package test
public open class PropertySimpleType {
/*primary*/ public constructor PropertySimpleType()
public final var fieldOne: kotlin.String
public final fun <get-fieldOne>(): kotlin.String
public final fun <set-fieldOne>(/*0*/ <set-?>: kotlin.String): kotlin.Unit
public final var fieldTwo: kotlin.String?
public final fun <get-fieldTwo>(): kotlin.String?
public final fun <set-fieldTwo>(/*0*/ <set-?>: kotlin.String?): kotlin.Unit
}
@@ -0,0 +1,7 @@
package test
public final class StarProjection {
public final fun foo(): MyClass<*> = throw UnsupportedOperationException()
public trait MyClass<T: CharSequence?>
}
@@ -0,0 +1,9 @@
package test
public final class StarProjection {
/*primary*/ public constructor StarProjection()
public final fun foo(): test.StarProjection.MyClass<out kotlin.CharSequence?>
public trait MyClass</*0*/ T : kotlin.CharSequence?> {
}
}
@@ -0,0 +1,9 @@
package test
import java.util.*
public open class AddingNullability {
public open fun foo() : Int {
throw UnsupportedOperationException()
}
}
@@ -0,0 +1,6 @@
package test
public open class AddingNullability {
/*primary*/ public constructor AddingNullability()
public open fun foo(): kotlin.Int
}
@@ -0,0 +1,7 @@
package test
public open class ConflictingProjectionKind {
public open fun foo(p0: List<Number>?) {
throw UnsupportedOperationException()
}
}
@@ -0,0 +1,6 @@
package test
public open class ConflictingProjectionKind {
/*primary*/ public constructor ConflictingProjectionKind()
public open fun foo(/*0*/ p0: kotlin.List<kotlin.Number>?): kotlin.Unit
}
@@ -0,0 +1,7 @@
package test
import java.util.*
public open class ExplicitFieldGettersAndSetters {
public var foo : String? = ""
}
@@ -0,0 +1,8 @@
package test
public open class ExplicitFieldGettersAndSetters {
/*primary*/ public constructor ExplicitFieldGettersAndSetters()
public final var foo: kotlin.String?
public final fun <get-foo>(): kotlin.String?
public final fun <set-foo>(/*0*/ <set-?>: kotlin.String?): kotlin.Unit
}

Some files were not shown because too many files have changed in this diff Show More