mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 00:21:28 +00:00
Remove Object from supertypes in LoadJava testData
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public class ArrayTypeVariance : java.lang.Object() {
|
||||
public class ArrayTypeVariance {
|
||||
public fun toArray(p0: Array<out Any>?): Array<Any>? {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public final class ArrayTypeVariance : java.lang.Object {
|
||||
public final class ArrayTypeVariance {
|
||||
public constructor ArrayTypeVariance()
|
||||
public final fun toArray(/*0*/ p0: kotlin.Array<out kotlin.Any>?): kotlin.Array<kotlin.Any>?
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public class ClassWithConstVal() : java.lang.Object() {
|
||||
public class ClassWithConstVal() {
|
||||
public val f: Int = 1
|
||||
public val f2: Int = f
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public final class ClassWithConstVal : java.lang.Object {
|
||||
public final class ClassWithConstVal {
|
||||
public constructor ClassWithConstVal()
|
||||
public final val f: kotlin.Int = 1
|
||||
public final val f2: kotlin.Int = 1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public class ClassWithTypeP<P>() : java.lang.Object() {
|
||||
public class ClassWithTypeP<P>() {
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public final class ClassWithTypeP</*0*/ P> : java.lang.Object {
|
||||
public final class ClassWithTypeP</*0*/ P> {
|
||||
public constructor ClassWithTypeP</*0*/ P>()
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public class ClassWithTypePP<P, Q : P>() : java.lang.Object() {
|
||||
public class ClassWithTypePP<P, Q : P>() {
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public final class ClassWithTypePP</*0*/ P, /*1*/ Q : P> : java.lang.Object {
|
||||
public final class ClassWithTypePP</*0*/ P, /*1*/ Q : P> {
|
||||
public constructor ClassWithTypePP</*0*/ P, /*1*/ Q : P>()
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package test
|
||||
|
||||
public open class ClassWithTypePRefNext<R : kotlin.Iterable<P>?, P>() : java.lang.Object()
|
||||
public open class ClassWithTypePRefNext<R : kotlin.Iterable<P>?, P>()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class ClassWithTypePRefNext</*0*/ R : kotlin.Iterable<P>?, /*1*/ P> : java.lang.Object {
|
||||
public open class ClassWithTypePRefNext</*0*/ R : kotlin.Iterable<P>?, /*1*/ P> {
|
||||
public constructor ClassWithTypePRefNext</*0*/ R : kotlin.Iterable<P>?, /*1*/ P>()
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public class ClassWithTypePRefSelf<P : kotlin.Enum<P>?>() : java.lang.Object() {
|
||||
public class ClassWithTypePRefSelf<P : kotlin.Enum<P>?>() {
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public final class ClassWithTypePRefSelf</*0*/ P : kotlin.Enum<P>?> : java.lang.Object {
|
||||
public final class ClassWithTypePRefSelf</*0*/ P : kotlin.Enum<P>?> {
|
||||
public constructor ClassWithTypePRefSelf</*0*/ P : kotlin.Enum<P>?>()
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public class ClassWithTypePRefSelfAndClass<P: ClassWithTypePRefSelfAndClass<P>?>(): Object() {
|
||||
public class ClassWithTypePRefSelfAndClass<P: ClassWithTypePRefSelfAndClass<P>?>() {
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public final class ClassWithTypePRefSelfAndClass</*0*/ P : test.ClassWithTypePRefSelfAndClass<P>?> : java.lang.Object {
|
||||
public final class ClassWithTypePRefSelfAndClass</*0*/ P : test.ClassWithTypePRefSelfAndClass<P>?> {
|
||||
public constructor ClassWithTypePRefSelfAndClass</*0*/ P : test.ClassWithTypePRefSelfAndClass<P>?>()
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public class FieldAsVar() : java.lang.Object() {
|
||||
public class FieldAsVar() {
|
||||
public var f: Int = 1
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public final class FieldAsVar : java.lang.Object {
|
||||
public final class FieldAsVar {
|
||||
public constructor FieldAsVar()
|
||||
public final var f: kotlin.Int
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class FieldOfArrayType() : java.lang.Object() {
|
||||
public open class FieldOfArrayType() {
|
||||
public var files: Array<java.io.File>? = null
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class FieldOfArrayType : java.lang.Object {
|
||||
public open class FieldOfArrayType {
|
||||
public constructor FieldOfArrayType()
|
||||
public final var files: kotlin.Array<java.io.File>?
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//ALLOW_AST_ACCESS
|
||||
package test
|
||||
|
||||
public class FinalFieldAsVal() : java.lang.Object() {
|
||||
public class FinalFieldAsVal() {
|
||||
public val f: Int = 1
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public final class FinalFieldAsVal : java.lang.Object {
|
||||
public final class FinalFieldAsVal {
|
||||
public constructor FinalFieldAsVal()
|
||||
public final val f: kotlin.Int = 1
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package test
|
||||
|
||||
public class InheritMethodsDifferentReturnTypes: Object() {
|
||||
public trait Super1: Object {
|
||||
public class InheritMethodsDifferentReturnTypes {
|
||||
public trait Super1 {
|
||||
public fun foo(): CharSequence?
|
||||
public fun bar(): String?
|
||||
}
|
||||
|
||||
public trait Super2: Object {
|
||||
public trait Super2 {
|
||||
public fun foo(): String?
|
||||
public fun bar(): CharSequence?
|
||||
}
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
package test
|
||||
|
||||
public final class InheritMethodsDifferentReturnTypes : java.lang.Object {
|
||||
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 : java.lang.Object {
|
||||
|
||||
public trait Super1 {
|
||||
public abstract fun bar(): kotlin.String?
|
||||
public abstract fun foo(): kotlin.CharSequence?
|
||||
}
|
||||
|
||||
public trait Super2 : java.lang.Object {
|
||||
|
||||
public trait Super2 {
|
||||
public abstract fun bar(): kotlin.CharSequence?
|
||||
public abstract fun foo(): kotlin.String?
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package test
|
||||
|
||||
public class InheritMethodsDifferentReturnTypesGeneric: Object() {
|
||||
public trait Super1<F, B>: Object {
|
||||
public class InheritMethodsDifferentReturnTypesGeneric {
|
||||
public trait Super1<F, B> {
|
||||
public fun foo(): F?
|
||||
public fun bar(): B?
|
||||
}
|
||||
|
||||
public trait Super2<FF, BB>: Object {
|
||||
public trait Super2<FF, BB> {
|
||||
public fun foo(): FF?
|
||||
public fun bar(): BB?
|
||||
}
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
package test
|
||||
|
||||
public final class InheritMethodsDifferentReturnTypesGeneric : java.lang.Object {
|
||||
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> : java.lang.Object {
|
||||
|
||||
public trait Super1</*0*/ F, /*1*/ B> {
|
||||
public abstract fun bar(): B?
|
||||
public abstract fun foo(): F?
|
||||
}
|
||||
|
||||
public trait Super2</*0*/ FF, /*1*/ BB> : java.lang.Object {
|
||||
|
||||
public trait Super2</*0*/ FF, /*1*/ BB> {
|
||||
public abstract fun bar(): BB?
|
||||
public abstract fun foo(): FF?
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class InnerClass() : java.lang.Object() {
|
||||
public inner open class Inner() : java.lang.Object()
|
||||
public open class InnerClass() {
|
||||
public inner open class Inner()
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package test
|
||||
|
||||
public open class InnerClass : java.lang.Object {
|
||||
public open class InnerClass {
|
||||
public constructor InnerClass()
|
||||
|
||||
public open inner class Inner : java.lang.Object {
|
||||
|
||||
public open inner class Inner {
|
||||
public constructor Inner()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class InnerClassReferencesOuterTP<P>() : java.lang.Object() {
|
||||
public open inner class Inner<Q : P>() : java.lang.Object()
|
||||
public open class InnerClassReferencesOuterTP<P>() {
|
||||
public open inner class Inner<Q : P>()
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package test
|
||||
|
||||
public open class InnerClassReferencesOuterTP</*0*/ P> : java.lang.Object {
|
||||
public open class InnerClassReferencesOuterTP</*0*/ P> {
|
||||
public constructor InnerClassReferencesOuterTP</*0*/ P>()
|
||||
|
||||
public open inner class Inner</*0*/ Q : P> : java.lang.Object {
|
||||
|
||||
public open inner class Inner</*0*/ Q : P> {
|
||||
public constructor Inner</*0*/ Q : P>()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
public open class InnerClassesInGeneric<P, Q>() : java.lang.Object() {
|
||||
public open inner class Inner() : java.lang.Object() {
|
||||
public open class InnerClassesInGeneric<P, Q>() {
|
||||
public open inner class Inner() {
|
||||
}
|
||||
|
||||
public open inner class Inner2() : Inner() {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package test
|
||||
|
||||
public open class InnerClassesInGeneric</*0*/ P, /*1*/ Q> : java.lang.Object {
|
||||
public open class InnerClassesInGeneric</*0*/ P, /*1*/ Q> {
|
||||
public constructor InnerClassesInGeneric</*0*/ P, /*1*/ Q>()
|
||||
|
||||
public open inner class Inner : java.lang.Object {
|
||||
|
||||
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>?
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
public class MethodReferencesOuterClassTP<P>() : java.lang.Object() {
|
||||
public inner class Inner() : java.lang.Object() {
|
||||
public class MethodReferencesOuterClassTP<P>() {
|
||||
public inner class Inner() {
|
||||
public fun f<Q : P>() {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package test
|
||||
|
||||
public final class MethodReferencesOuterClassTP</*0*/ P> : java.lang.Object {
|
||||
public final class MethodReferencesOuterClassTP</*0*/ P> {
|
||||
public constructor MethodReferencesOuterClassTP</*0*/ P>()
|
||||
|
||||
public final inner class Inner : java.lang.Object {
|
||||
|
||||
public final inner class Inner {
|
||||
public constructor Inner()
|
||||
public final fun </*0*/ Q : P> f(): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class MethodTypePOneUpperBound() : java.lang.Object() {
|
||||
public open class MethodTypePOneUpperBound() {
|
||||
public open fun <T : Cloneable?> bar() : Unit = Unit
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class MethodTypePOneUpperBound : java.lang.Object {
|
||||
public open class MethodTypePOneUpperBound {
|
||||
public constructor MethodTypePOneUpperBound()
|
||||
public open fun </*0*/ T : java.lang.Cloneable?> bar(): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class MethodTypePTwoUpperBounds() : java.lang.Object() {
|
||||
public open class MethodTypePTwoUpperBounds() {
|
||||
public open fun <T> foo(): Unit where T : Cloneable?, T : Runnable? {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class MethodTypePTwoUpperBounds : java.lang.Object {
|
||||
public open class MethodTypePTwoUpperBounds {
|
||||
public constructor MethodTypePTwoUpperBounds()
|
||||
public open fun </*0*/ T : java.lang.Cloneable?> foo(): kotlin.Unit where T : java.lang.Runnable?
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public class MethodWithTypeP() : java.lang.Object() {
|
||||
public class MethodWithTypeP() {
|
||||
public fun <P> f() : Unit = Unit
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public final class MethodWithTypeP : java.lang.Object {
|
||||
public final class MethodWithTypeP {
|
||||
public constructor MethodWithTypeP()
|
||||
public final fun </*0*/ P> f(): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public class MethodWithTypePP() : java.lang.Object() {
|
||||
public class MethodWithTypePP() {
|
||||
public fun <P, Q : P> f() : Unit = Unit
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public final class MethodWithTypePP : java.lang.Object {
|
||||
public final class MethodWithTypePP {
|
||||
public constructor MethodWithTypePP()
|
||||
public final fun </*0*/ P, /*1*/ Q : P> f(): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class MethodWithTypePRefClassP<P>() : java.lang.Object() {
|
||||
public open class MethodWithTypePRefClassP<P>() {
|
||||
public fun <Q : P> f() : Unit = Unit
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class MethodWithTypePRefClassP</*0*/ P> : java.lang.Object {
|
||||
public open class MethodWithTypePRefClassP</*0*/ P> {
|
||||
public constructor MethodWithTypePRefClassP</*0*/ P>()
|
||||
public final fun </*0*/ Q : P> f(): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public final class MethosWithPRefTP() : java.lang.Object() {
|
||||
public final class MethosWithPRefTP() {
|
||||
public fun <P> f(p0: P?) : Unit = Unit
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public final class MethosWithPRefTP : java.lang.Object {
|
||||
public final class MethosWithPRefTP {
|
||||
public constructor MethosWithPRefTP()
|
||||
public final fun </*0*/ P> f(/*0*/ p0: P?): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package test
|
||||
|
||||
public open class MyException(p0: String?, p1: Throwable?) : java.lang.Object()
|
||||
public open class MyException(p0: String?, p1: Throwable?)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class MyException : java.lang.Object {
|
||||
public open class MyException {
|
||||
public constructor MyException(/*0*/ p0: kotlin.String?, /*1*/ p1: kotlin.Throwable?)
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class NestedClass() : java.lang.Object() {
|
||||
public open class Nested() : java.lang.Object()
|
||||
public open class NestedClass() {
|
||||
public open class Nested()
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package test
|
||||
|
||||
public open class NestedClass : java.lang.Object {
|
||||
public open class NestedClass {
|
||||
public constructor NestedClass()
|
||||
|
||||
public open class Nested : java.lang.Object {
|
||||
|
||||
public open class Nested {
|
||||
public constructor Nested()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public trait RemoveRedundantProjectionKind: Object {
|
||||
public trait RemoveRedundantProjectionKind {
|
||||
public fun f(p0: Collection<CharSequence?>?)
|
||||
public fun f(p0: Comparable<CharSequence?>?)
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public trait RemoveRedundantProjectionKind : java.lang.Object {
|
||||
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
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package test
|
||||
|
||||
public class Simple() : java.lang.Object()
|
||||
public class Simple()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public final class Simple : java.lang.Object {
|
||||
public final class Simple {
|
||||
public constructor Simple()
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public class TwoFields() : java.lang.Object() {
|
||||
public class TwoFields() {
|
||||
public var a: Int = 1
|
||||
public var b: Short = 2;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public final class TwoFields : java.lang.Object {
|
||||
public final class TwoFields {
|
||||
public constructor TwoFields()
|
||||
public final var a: kotlin.Int
|
||||
public final var b: kotlin.Short
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
public final class UnboundWildcard: Object() {
|
||||
public final class UnboundWildcard {
|
||||
public final fun foo(): MyClass<*>? = throw UnsupportedOperationException()
|
||||
|
||||
public trait MyClass<T: CharSequence?>: Object
|
||||
public trait MyClass<T: CharSequence?>
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package test
|
||||
|
||||
public final class UnboundWildcard : java.lang.Object {
|
||||
public final class UnboundWildcard {
|
||||
public constructor UnboundWildcard()
|
||||
public final fun foo(): test.UnboundWildcard.MyClass<out kotlin.CharSequence?>?
|
||||
|
||||
public trait MyClass</*0*/ T : kotlin.CharSequence?> : java.lang.Object {
|
||||
|
||||
public trait MyClass</*0*/ T : kotlin.CharSequence?> {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//ALLOW_AST_ACCESS
|
||||
package test
|
||||
|
||||
public open class AnnotatedMethod() : java.lang.Object() {
|
||||
public open class AnnotatedMethod() {
|
||||
public open deprecated("Deprecated in Java") fun f(): Unit { }
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class AnnotatedMethod : java.lang.Object {
|
||||
public open class AnnotatedMethod {
|
||||
public constructor AnnotatedMethod()
|
||||
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open fun f(): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorGenericDeep(p0: java.lang.Class<Any?>?) : java.lang.Object()
|
||||
public open class ConstructorGenericDeep(p0: java.lang.Class<Any?>?)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorGenericDeep : java.lang.Object {
|
||||
public open class ConstructorGenericDeep {
|
||||
public constructor ConstructorGenericDeep(/*0*/ p0: java.lang.Class<kotlin.Any?>?)
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorGenericSimple(p0: Any?) : java.lang.Object()
|
||||
public open class ConstructorGenericSimple(p0: Any?)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorGenericSimple : java.lang.Object {
|
||||
public open class ConstructorGenericSimple {
|
||||
public constructor ConstructorGenericSimple(/*0*/ p0: kotlin.Any?)
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorGenericUpperBound(p0: java.util.RandomAccess?) : java.lang.Object()
|
||||
public open class ConstructorGenericUpperBound(p0: java.util.RandomAccess?)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorGenericUpperBound : java.lang.Object {
|
||||
public open class ConstructorGenericUpperBound {
|
||||
public constructor ConstructorGenericUpperBound(/*0*/ p0: java.util.RandomAccess?)
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class DifferentGetterAndSetter() : java.lang.Object() {
|
||||
public open class DifferentGetterAndSetter() {
|
||||
public open fun setSomething(p0: String?): Unit { }
|
||||
public open fun getSomething() : Int = 17
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class DifferentGetterAndSetter : java.lang.Object {
|
||||
public open class DifferentGetterAndSetter {
|
||||
public constructor DifferentGetterAndSetter()
|
||||
public open fun getSomething(): kotlin.Int
|
||||
public open fun setSomething(/*0*/ p0: kotlin.String?): kotlin.Unit
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public trait JavaBeanAbstractGetter : java.lang.Object {
|
||||
public trait JavaBeanAbstractGetter {
|
||||
//final val red: Int
|
||||
public abstract fun getRed(): Int
|
||||
//final val blue: Int
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public trait JavaBeanAbstractGetter : java.lang.Object {
|
||||
public trait JavaBeanAbstractGetter {
|
||||
public abstract fun getBlue(): kotlin.Int
|
||||
public abstract fun getRed(): kotlin.Int
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class JavaBeanVal() : java.lang.Object() {
|
||||
public open class JavaBeanVal() {
|
||||
public open fun getColor(): String? = ""
|
||||
//val color: String? = ""
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class JavaBeanVal : java.lang.Object {
|
||||
public open class JavaBeanVal {
|
||||
public constructor JavaBeanVal()
|
||||
public open fun getColor(): kotlin.String?
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class JavaBeanVar() : java.lang.Object() {
|
||||
public open class JavaBeanVar() {
|
||||
public open fun getColor(): String? = ""
|
||||
public open fun setColor(p0: String?): Unit { }
|
||||
//var color: String? = ""
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class JavaBeanVar : java.lang.Object {
|
||||
public open class JavaBeanVar {
|
||||
public constructor JavaBeanVar()
|
||||
public open fun getColor(): kotlin.String?
|
||||
public open fun setColor(/*0*/ p0: kotlin.String?): kotlin.Unit
|
||||
|
||||
@@ -2,7 +2,7 @@ package test
|
||||
|
||||
import java.util.ArrayList
|
||||
|
||||
public open class JavaBeanVarOfGenericType<P>() : java.lang.Object() {
|
||||
public open class JavaBeanVarOfGenericType<P>() {
|
||||
public open fun getCharacters(): ArrayList<P>? = null
|
||||
public open fun setCharacters(p0: ArrayList<P>?) { }
|
||||
//var characters: ArrayList<P>? = null
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class JavaBeanVarOfGenericType</*0*/ P> : java.lang.Object {
|
||||
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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class TwoSetters() : java.lang.Object() {
|
||||
public open class TwoSetters() {
|
||||
public open fun setSize(p0: String?) { }
|
||||
public open fun setSize(p0: Int) { }
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class TwoSetters : java.lang.Object {
|
||||
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
|
||||
|
||||
@@ -2,7 +2,7 @@ package test
|
||||
|
||||
import java.io.Serializable
|
||||
|
||||
public open class AllBoundsInWhen : Object() {
|
||||
public open class AllBoundsInWhen {
|
||||
public open fun <T> foo() where T: Serializable {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class AllBoundsInWhen : java.lang.Object {
|
||||
public open class AllBoundsInWhen {
|
||||
public constructor AllBoundsInWhen()
|
||||
public open fun </*0*/ T : java.io.Serializable> foo(): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class ArrayType : Object() {
|
||||
public open class ArrayType {
|
||||
public open fun foo(): Array<String> {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class ArrayType : java.lang.Object {
|
||||
public open class ArrayType {
|
||||
public constructor ArrayType()
|
||||
public open fun foo(): kotlin.Array<kotlin.String>
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithNewTypeParams<T>(first : Any) : java.lang.Object() {
|
||||
public open class ConstructorWithNewTypeParams<T>(first : Any) {
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithNewTypeParams</*0*/ T> : java.lang.Object {
|
||||
public open class ConstructorWithNewTypeParams</*0*/ T> {
|
||||
public constructor ConstructorWithNewTypeParams</*0*/ T>(/*0*/ first: kotlin.Any)
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithParentTypeParams<T>(first : T) : java.lang.Object() {
|
||||
public open class ConstructorWithParentTypeParams<T>(first : T) {
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithParentTypeParams</*0*/ T> : java.lang.Object {
|
||||
public open class ConstructorWithParentTypeParams</*0*/ T> {
|
||||
public constructor ConstructorWithParentTypeParams</*0*/ T>(/*0*/ first: T)
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
import java.util.*
|
||||
|
||||
public open class ConstructorWithSeveralParams(integer: Int, intField : Int, collection : ArrayList<String>) : java.lang.Object() {
|
||||
public open class ConstructorWithSeveralParams(integer: Int, intField : Int, collection : ArrayList<String>) {
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithSeveralParams : java.lang.Object {
|
||||
public open class ConstructorWithSeveralParams {
|
||||
public constructor ConstructorWithSeveralParams(/*0*/ integer: kotlin.Int, /*1*/ intField: kotlin.Int, /*2*/ collection: java.util.ArrayList<kotlin.String>)
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithoutParams() : java.lang.Object() {
|
||||
public open class ConstructorWithoutParams() {
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithoutParams : java.lang.Object {
|
||||
public open class ConstructorWithoutParams {
|
||||
public constructor ConstructorWithoutParams()
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@ package test
|
||||
|
||||
import java.util.*
|
||||
|
||||
public open class CustomProjectionKind : Object() {
|
||||
public open class CustomProjectionKind {
|
||||
public open fun foo() : MutableList<out Number> = throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class CustomProjectionKind : java.lang.Object {
|
||||
public open class CustomProjectionKind {
|
||||
public constructor CustomProjectionKind()
|
||||
public open fun foo(): kotlin.MutableList<out kotlin.Number>
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ package test
|
||||
|
||||
import java.util.*
|
||||
|
||||
public open class MethodWithFunctionTypes : Object() {
|
||||
public open class MethodWithFunctionTypes {
|
||||
public open fun foo(f : (String?) -> String) : (String.() -> String?)? {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class MethodWithFunctionTypes : java.lang.Object {
|
||||
public open class MethodWithFunctionTypes {
|
||||
public constructor MethodWithFunctionTypes()
|
||||
public open fun foo(/*0*/ f: (kotlin.String?) -> kotlin.String): (kotlin.String.() -> kotlin.String?)?
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@ package test
|
||||
|
||||
import java.util.*
|
||||
|
||||
public open class MethodWithGenerics : Object() {
|
||||
public open class MethodWithGenerics {
|
||||
public open fun foo(a : String, b : List<Map.Entry<String?, String>?>) : String = ""
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class MethodWithGenerics : java.lang.Object {
|
||||
public open class MethodWithGenerics {
|
||||
public constructor MethodWithGenerics()
|
||||
public open fun foo(/*0*/ a: kotlin.String, /*1*/ b: kotlin.List<kotlin.Map.Entry<kotlin.String?, kotlin.String>?>): kotlin.String
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@ package test
|
||||
|
||||
import java.util.*
|
||||
|
||||
public open class MethodWithMappedClasses : Object() {
|
||||
public open class MethodWithMappedClasses {
|
||||
public open fun <T> copy(dest : MutableList<in T>, src : List<T>) {}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class MethodWithMappedClasses : java.lang.Object {
|
||||
public open class MethodWithMappedClasses {
|
||||
public constructor MethodWithMappedClasses()
|
||||
public open fun </*0*/ T> copy(/*0*/ dest: kotlin.MutableList<in T>, /*1*/ src: kotlin.List<T>): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ package test
|
||||
|
||||
import java.util.*
|
||||
|
||||
public open class MethodWithTypeParameters : Object() {
|
||||
public open class MethodWithTypeParameters {
|
||||
public open fun <A, B : Runnable> foo(a : A, b : List<B>, c: MutableList<in String?>) where B : List<Cloneable> {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class MethodWithTypeParameters : java.lang.Object {
|
||||
public open class MethodWithTypeParameters {
|
||||
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<java.lang.Cloneable>
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ package test
|
||||
|
||||
import java.util.*
|
||||
|
||||
public open class MethodWithVararg : Object() {
|
||||
public open class MethodWithVararg {
|
||||
public open fun foo(vararg s : String) {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public open class MethodWithVararg : java.lang.Object {
|
||||
public open class MethodWithVararg {
|
||||
public constructor MethodWithVararg()
|
||||
public open fun foo(/*0*/ vararg s: kotlin.String /*kotlin.Array<kotlin.String>*/): kotlin.Unit
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user