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 final class ArrayTypeVariance {
public final Object[] toArray(Object[] p0) {
throw new UnsupportedOperationException();
}
}
@@ -0,0 +1,6 @@
package test
public final class ArrayTypeVariance {
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 extends java.util.Date {
}
@@ -0,0 +1,35 @@
package test
public abstract class ClassDoesNotOverrideMethod : java.util.Date {
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;
public final class ClassWithConstVal {
public final int f = 1;
public final int f2 = f;
}
@@ -0,0 +1,7 @@
package test
public final class ClassWithConstVal {
public constructor ClassWithConstVal()
public final val f: kotlin.Int = 1
public final val f2: kotlin.Int = 1
}
@@ -0,0 +1,4 @@
package test;
public final class ClassWithTypeP<P> {
}
@@ -0,0 +1,5 @@
package test
public final class ClassWithTypeP</*0*/ P> {
public constructor ClassWithTypeP</*0*/ P>()
}
@@ -0,0 +1,4 @@
package test;
public abstract class ClassWithTypePExtendsIterableP<P> implements java.lang.Iterable<P> {
}
@@ -0,0 +1,6 @@
package test
public abstract class ClassWithTypePExtendsIterableP</*0*/ P> : kotlin.MutableIterable<P> {
public constructor ClassWithTypePExtendsIterableP</*0*/ P>()
public abstract override /*1*/ /*fake_override*/ fun iterator(): kotlin.MutableIterator<P>
}
@@ -0,0 +1,4 @@
package test;
public final class ClassWithTypePP<P, Q extends P> {
}
@@ -0,0 +1,5 @@
package test
public final class ClassWithTypePP</*0*/ P, /*1*/ Q : P> {
public constructor ClassWithTypePP</*0*/ P, /*1*/ Q : P>()
}
@@ -0,0 +1,4 @@
package test;
public class ClassWithTypePRefNext<R extends Iterable<P>, P> {
}
@@ -0,0 +1,5 @@
package test
public open class ClassWithTypePRefNext</*0*/ R : kotlin.Iterable<P>?, /*1*/ P> {
public constructor ClassWithTypePRefNext</*0*/ R : kotlin.Iterable<P>?, /*1*/ P>()
}
@@ -0,0 +1,4 @@
package test;
public final class ClassWithTypePRefSelf<P extends Enum<P>> {
}
@@ -0,0 +1,5 @@
package test
public final class ClassWithTypePRefSelf</*0*/ P : kotlin.Enum<P>?> {
public constructor ClassWithTypePRefSelf</*0*/ P : kotlin.Enum<P>?>()
}
@@ -0,0 +1,4 @@
package test;
public final class ClassWithTypePRefSelfAndClass<P extends ClassWithTypePRefSelfAndClass<P>> {
}
@@ -0,0 +1,5 @@
package test
public final class ClassWithTypePRefSelfAndClass</*0*/ P : test.ClassWithTypePRefSelfAndClass<P>?> {
public constructor ClassWithTypePRefSelfAndClass</*0*/ P : test.ClassWithTypePRefSelfAndClass<P>?>()
}
@@ -0,0 +1,5 @@
package test;
public final class FieldAsVar {
public int f;
}
@@ -0,0 +1,6 @@
package test
public final class FieldAsVar {
public constructor FieldAsVar()
public final var f: kotlin.Int
}
@@ -0,0 +1,5 @@
package test;
public class FieldOfArrayType {
public java.io.File[] files;
}
@@ -0,0 +1,6 @@
package test
public open class FieldOfArrayType {
public constructor FieldOfArrayType()
public final var files: kotlin.Array<java.io.File>?
}
@@ -0,0 +1,5 @@
package test;
public final class FinalFieldAsVal {
public final int f = 1;
}
@@ -0,0 +1,6 @@
package test
public final class FinalFieldAsVal {
public constructor FinalFieldAsVal()
public final val f: kotlin.Int = 1
}
@@ -0,0 +1,16 @@
package test;
public final class InheritMethodsDifferentReturnTypes {
public interface Super1 {
CharSequence foo();
String bar();
}
public interface Super2 {
String foo();
CharSequence bar();
}
public interface Sub extends Super1, Super2 {
}
}
@@ -0,0 +1,20 @@
package test
public final class InheritMethodsDifferentReturnTypes {
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 final class InheritMethodsDifferentReturnTypesGeneric {
public interface Super1<F, B> {
F foo();
B bar();
}
public interface Super2<FF, BB> {
FF foo();
BB bar();
}
public interface Sub extends Super1<String, CharSequence>, Super2<CharSequence, String> {
}
}
@@ -0,0 +1,20 @@
package test
public final class InheritMethodsDifferentReturnTypesGeneric {
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,6 @@
package test;
public class InnerClass {
public class Inner {
}
}
@@ -0,0 +1,9 @@
package test
public open class InnerClass {
public constructor InnerClass()
public open inner class Inner {
public constructor Inner()
}
}
@@ -0,0 +1,6 @@
package test;
public class InnerClassReferencesOuterTP<P> {
public class Inner<Q extends P> {
}
}
@@ -0,0 +1,9 @@
package test
public open class InnerClassReferencesOuterTP</*0*/ P> {
public constructor InnerClassReferencesOuterTP</*0*/ P>()
public open inner class Inner</*0*/ Q : P> {
public constructor Inner</*0*/ Q : P>()
}
}
@@ -0,0 +1,14 @@
package test;
import java.lang.UnsupportedOperationException;
public class InnerClassesInGeneric<P, Q> {
public class Inner {
}
public class Inner2 extends Inner {
public java.util.Iterator<P> iterator() {
throw new UnsupportedOperationException();
}
}
}
@@ -0,0 +1,14 @@
package test
public open class InnerClassesInGeneric</*0*/ P, /*1*/ Q> {
public constructor InnerClassesInGeneric</*0*/ P, /*1*/ Q>()
public open inner class Inner {
public constructor Inner()
}
public open inner class Inner2 : test.InnerClassesInGeneric.Inner {
public constructor Inner2()
public open fun iterator(): kotlin.MutableIterator<P>?
}
}
@@ -0,0 +1,7 @@
package test;
public final class MethodReferencesOuterClassTP<P> {
public final class Inner {
public final <Q extends P> void f() {}
}
}
@@ -0,0 +1,10 @@
package test
public final class MethodReferencesOuterClassTP</*0*/ P> {
public constructor MethodReferencesOuterClassTP</*0*/ P>()
public final inner class Inner {
public constructor Inner()
public final fun </*0*/ Q : P> f(): kotlin.Unit
}
}
@@ -0,0 +1,5 @@
package test;
public class MethodTypePOneUpperBound {
public <T extends Cloneable> void bar() {}
}
@@ -0,0 +1,6 @@
package test
public open class MethodTypePOneUpperBound {
public constructor MethodTypePOneUpperBound()
public open fun </*0*/ T : kotlin.Cloneable?> bar(): kotlin.Unit
}
@@ -0,0 +1,5 @@
package test;
public class MethodTypePTwoUpperBounds {
public <T extends Cloneable & Runnable> void foo() {}
}
@@ -0,0 +1,6 @@
package test
public open class MethodTypePTwoUpperBounds {
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 final class MethodWithTypeP {
public final <P> void f() {}
}
@@ -0,0 +1,6 @@
package test
public final class MethodWithTypeP {
public constructor MethodWithTypeP()
public final fun </*0*/ P> f(): kotlin.Unit
}
@@ -0,0 +1,5 @@
package test;
public final class MethodWithTypePP {
public final <P, Q extends P> void f() {}
}
@@ -0,0 +1,6 @@
package test
public final class MethodWithTypePP {
public constructor MethodWithTypePP()
public final fun </*0*/ P, /*1*/ Q : P> f(): kotlin.Unit
}
@@ -0,0 +1,5 @@
package test;
public class MethodWithTypePRefClassP<P> {
public final <Q extends P> void f() {}
}
@@ -0,0 +1,6 @@
package test
public open class MethodWithTypePRefClassP</*0*/ P> {
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 final <P> void f(P p) {}
}
@@ -0,0 +1,6 @@
package test
public final class MethosWithPRefTP {
public constructor MethosWithPRefTP()
public final fun </*0*/ P> f(/*0*/ p0: P?): kotlin.Unit
}
@@ -0,0 +1,7 @@
// http://youtrack.jetbrains.com/issue/KT-1536
package test;
public class MyException {
public MyException(String message, Throwable cause) {}
}
@@ -0,0 +1,5 @@
package test
public open class MyException {
public constructor MyException(/*0*/ p0: kotlin.String?, /*1*/ p1: kotlin.Throwable?)
}
@@ -0,0 +1,6 @@
package test;
public class NestedClass {
public static class Nested {
}
}
@@ -0,0 +1,9 @@
package test
public open class NestedClass {
public constructor NestedClass()
public open class Nested {
public constructor Nested()
}
}
@@ -0,0 +1,8 @@
package test;
import java.util.Collection;
public interface RemoveRedundantProjectionKind {
void f(Collection<? extends CharSequence> collection);
void f(Comparable<? super CharSequence> comparator);
}
@@ -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,5 @@
package test;
public final class Simple {
public Simple() { }
}
@@ -0,0 +1,5 @@
package test
public final class Simple {
public constructor Simple()
}
@@ -0,0 +1,6 @@
package test;
public final class TwoFields {
public int a;
public short b;
}
@@ -0,0 +1,7 @@
package test
public final class TwoFields {
public constructor TwoFields()
public final var a: kotlin.Int
public final var b: kotlin.Short
}
@@ -0,0 +1,10 @@
package test;
public final class UnboundWildcard {
public final MyClass<?> foo() {
throw new UnsupportedOperationException();
}
public interface MyClass<T extends CharSequence> {
}
}
@@ -0,0 +1,9 @@
package test
public final class UnboundWildcard {
public constructor UnboundWildcard()
public final fun foo(): test.UnboundWildcard.MyClass<out kotlin.CharSequence?>?
public trait MyClass</*0*/ T : kotlin.CharSequence?> {
}
}
@@ -0,0 +1,6 @@
package test;
//@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.CLASS)
@AnnotatedAnnotation
public @interface AnnotatedAnnotation {
}
@@ -0,0 +1,5 @@
package test
test.AnnotatedAnnotation() public final annotation class AnnotatedAnnotation : kotlin.Annotation {
public constructor AnnotatedAnnotation()
}
@@ -0,0 +1,6 @@
package test;
public class AnnotatedMethod {
@Deprecated
public void f() { }
}
@@ -0,0 +1,6 @@
package test
public open class AnnotatedMethod {
public constructor AnnotatedMethod()
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open fun f(): kotlin.Unit
}
@@ -0,0 +1,4 @@
package test;
public @interface SimpleAnnotation {
}
@@ -0,0 +1,5 @@
package test
public final annotation class SimpleAnnotation : kotlin.Annotation {
public constructor SimpleAnnotation()
}
@@ -0,0 +1,5 @@
package test;
public class ConstructorGenericDeep {
public <P> ConstructorGenericDeep(java.lang.Class<P> cl) {}
}
@@ -0,0 +1,5 @@
package test
public open class ConstructorGenericDeep {
public constructor ConstructorGenericDeep(/*0*/ p0: java.lang.Class<kotlin.Any?>?)
}
@@ -0,0 +1,5 @@
package test;
public class ConstructorGenericSimple {
public <P> ConstructorGenericSimple(P p) {}
}
@@ -0,0 +1,5 @@
package test
public open class ConstructorGenericSimple {
public constructor ConstructorGenericSimple(/*0*/ p0: kotlin.Any?)
}
@@ -0,0 +1,5 @@
package test;
public class ConstructorGenericUpperBound {
public <P extends java.util.RandomAccess> ConstructorGenericUpperBound(P p) {}
}
@@ -0,0 +1,5 @@
package test
public open class ConstructorGenericUpperBound {
public constructor ConstructorGenericUpperBound(/*0*/ p0: java.util.RandomAccess?)
}
@@ -0,0 +1,6 @@
package test;
public class DifferentGetterAndSetter {
public void setSomething(String color) { }
public int getSomething() { return 17; }
}
@@ -0,0 +1,7 @@
package test
public open class DifferentGetterAndSetter {
public constructor DifferentGetterAndSetter()
public open fun getSomething(): kotlin.Int
public open fun setSomething(/*0*/ p0: kotlin.String?): kotlin.Unit
}
@@ -0,0 +1,6 @@
package test;
public interface JavaBeanAbstractGetter {
public int getRed();
public int getBlue();
}
@@ -0,0 +1,6 @@
package test
public trait JavaBeanAbstractGetter {
public abstract fun getBlue(): kotlin.Int
public abstract fun getRed(): kotlin.Int
}
@@ -0,0 +1,5 @@
package test;
public class JavaBeanVal {
public String getColor() { return ""; }
}
@@ -0,0 +1,6 @@
package test
public open class JavaBeanVal {
public constructor JavaBeanVal()
public open fun getColor(): kotlin.String?
}
@@ -0,0 +1,6 @@
package test;
public class JavaBeanVar {
public String getColor() { return ""; }
public void setColor(String string) { }
}
@@ -0,0 +1,7 @@
package test
public open class JavaBeanVar {
public constructor JavaBeanVar()
public open fun getColor(): kotlin.String?
public open fun setColor(/*0*/ p0: kotlin.String?): kotlin.Unit
}
@@ -0,0 +1,8 @@
package test;
import java.util.ArrayList;
public class JavaBeanVarOfGenericType<P> {
public ArrayList<P> getCharacters() { return null; }
public void setCharacters(ArrayList<P> characters) { }
}
@@ -0,0 +1,7 @@
package test
public open class JavaBeanVarOfGenericType</*0*/ P> {
public constructor JavaBeanVarOfGenericType</*0*/ P>()
public open fun getCharacters(): java.util.ArrayList<P>?
public open fun setCharacters(/*0*/ p0: java.util.ArrayList<P>?): kotlin.Unit
}
@@ -0,0 +1,6 @@
package test;
public class TwoSetters {
public void setSize(String size) { }
public void setSize(int size) { }
}
@@ -0,0 +1,7 @@
package test
public open class TwoSetters {
public constructor TwoSetters()
public open fun setSize(/*0*/ p0: kotlin.Int): kotlin.Unit
public open fun setSize(/*0*/ p0: kotlin.String?): kotlin.Unit
}
@@ -0,0 +1,12 @@
package test;
import jet.runtime.typeinfo.KotlinSignature;
import java.io.Serializable;
public class AllBoundsInWhen {
@KotlinSignature("fun <T> foo() where T: Serializable")
public <T extends Serializable> void foo() {
throw new UnsupportedOperationException();
}
}
@@ -0,0 +1,6 @@
package test
public open class AllBoundsInWhen {
public constructor AllBoundsInWhen()
public open fun </*0*/ T : java.io.Serializable> foo(): kotlin.Unit
}
@@ -0,0 +1,10 @@
package test;
import jet.runtime.typeinfo.KotlinSignature;
public class ArrayType {
@KotlinSignature("fun foo(): Array<String>")
public String[] foo() {
throw new UnsupportedOperationException();
}
}
@@ -0,0 +1,6 @@
package test
public open class ArrayType {
public constructor ArrayType()
public open fun foo(): kotlin.Array<kotlin.String>
}
@@ -0,0 +1,10 @@
package test;
import java.util.*;
import jet.runtime.typeinfo.KotlinSignature;
public class ConstructorWithNewTypeParams<T> {
@KotlinSignature("fun ConstructorWithNewTypeParams(first : Any)") // TODO: first : U doesn't work
public <U>ConstructorWithNewTypeParams(U first) {
}
}
@@ -0,0 +1,5 @@
package test
public open class ConstructorWithNewTypeParams</*0*/ T> {
public constructor ConstructorWithNewTypeParams</*0*/ T>(/*0*/ first: kotlin.Any)
}
@@ -0,0 +1,10 @@
package test;
import java.util.*;
import jet.runtime.typeinfo.KotlinSignature;
public class ConstructorWithParentTypeParams<T> {
@KotlinSignature("fun ConstructorWithParentTypeParams(first: T)")
public ConstructorWithParentTypeParams(T first) {
}
}
@@ -0,0 +1,5 @@
package test
public open class ConstructorWithParentTypeParams</*0*/ T> {
public constructor ConstructorWithParentTypeParams</*0*/ T>(/*0*/ first: T)
}
@@ -0,0 +1,10 @@
package test;
import java.util.*;
import jet.runtime.typeinfo.KotlinSignature;
public class ConstructorWithSeveralParams {
@KotlinSignature("fun ConstructorWithSeveralParams(integer : Int, intField : Int, collection: ArrayList<String>)")
public ConstructorWithSeveralParams(Integer integer, int intBasic, ArrayList<String> collection) {
}
}
@@ -0,0 +1,5 @@
package test
public open class ConstructorWithSeveralParams {
public constructor ConstructorWithSeveralParams(/*0*/ integer: kotlin.Int, /*1*/ intField: kotlin.Int, /*2*/ collection: java.util.ArrayList<kotlin.String>)
}
@@ -0,0 +1,10 @@
package test;
import java.util.*;
import jet.runtime.typeinfo.KotlinSignature;
public class ConstructorWithoutParams {
@KotlinSignature("fun ConstructorWithoutParams()")
public ConstructorWithoutParams() {
}
}
@@ -0,0 +1,5 @@
package test
public open class ConstructorWithoutParams {
public constructor ConstructorWithoutParams()
}
@@ -0,0 +1,12 @@
package test;
import java.util.*;
import jet.runtime.typeinfo.KotlinSignature;
public class CustomProjectionKind {
@KotlinSignature("fun foo(): MutableList<out Number>")
public List<Number> foo() {
throw new UnsupportedOperationException();
}
}
@@ -0,0 +1,6 @@
package test
public open class CustomProjectionKind {
public constructor CustomProjectionKind()
public open fun foo(): kotlin.MutableList<out kotlin.Number>
}
@@ -0,0 +1,14 @@
package test;
import java.lang.String;
import java.lang.UnsupportedOperationException;
import java.util.*;
import jet.runtime.typeinfo.KotlinSignature;
import kotlin.*;
public class MethodWithFunctionTypes {
@KotlinSignature("fun foo(f : (String?) -> String) : (String.() -> String?)?")
public ExtensionFunction0<String, String> foo(Function1<String, String> f) {
throw new UnsupportedOperationException();
}
}
@@ -0,0 +1,6 @@
package test
public open class MethodWithFunctionTypes {
public constructor MethodWithFunctionTypes()
public open fun foo(/*0*/ f: (kotlin.String?) -> kotlin.String): (kotlin.String.() -> kotlin.String?)?
}

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