Rewrite Java resolve to use static class scope instead of synthesized packages
#KT-4149 Fixed #KT-4839 Fixed
This commit is contained in:
@@ -2,30 +2,29 @@ package test
|
||||
|
||||
public open class InnerOfGeneric {
|
||||
public constructor InnerOfGeneric()
|
||||
|
||||
|
||||
public abstract inner class A</*0*/ K> {
|
||||
public constructor A</*0*/ K>()
|
||||
|
||||
|
||||
public abstract inner class Inner : test.InnerOfGeneric.S<K> {
|
||||
public constructor Inner()
|
||||
public abstract override /*1*/ /*fake_override*/ fun iterator(): kotlin.MutableIterator<K>?
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public open inner class B</*0*/ L> : test.InnerOfGeneric.A<L> {
|
||||
public constructor B</*0*/ L>()
|
||||
|
||||
|
||||
public open inner class SubInner : test.InnerOfGeneric.A.Inner {
|
||||
public constructor SubInner()
|
||||
public open override /*1*/ fun iterator(): kotlin.MutableIterator<L>?
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public trait S</*0*/ E> {
|
||||
public abstract fun iterator(): kotlin.MutableIterator<E>?
|
||||
}
|
||||
}
|
||||
|
||||
package test.InnerOfGeneric {
|
||||
public /*synthesized*/ fun </*0*/ E> S(/*0*/ function: () -> kotlin.MutableIterator<E>?): test.InnerOfGeneric.S<E>
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun </*0*/ E> S(/*0*/ function: () -> kotlin.MutableIterator<E>?): test.InnerOfGeneric.S<E>
|
||||
}
|
||||
|
||||
@@ -6,26 +6,24 @@ public open class PrivateMembers {
|
||||
private open fun method(): kotlin.Unit
|
||||
private final /*synthesized*/ fun samAdapter(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
private open fun samAdapter(/*0*/ p0: test.PrivateMembers.SamInterface?): kotlin.Unit
|
||||
|
||||
|
||||
private open inner class Inner {
|
||||
private constructor Inner()
|
||||
}
|
||||
|
||||
|
||||
private open class Nested {
|
||||
private constructor Nested()
|
||||
|
||||
// Static members
|
||||
private open fun staticMethodInNested(): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
private trait SamInterface {
|
||||
public abstract fun foo(): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
package test.PrivateMembers {
|
||||
private var staticField: kotlin.Int
|
||||
private /*synthesized*/ fun SamInterface(/*0*/ function: () -> kotlin.Unit): test.PrivateMembers.SamInterface
|
||||
|
||||
// Static members
|
||||
private final var staticField: kotlin.Int
|
||||
private final /*synthesized*/ fun SamInterface(/*0*/ function: () -> kotlin.Unit): test.PrivateMembers.SamInterface
|
||||
private open fun staticMethod(): kotlin.Unit
|
||||
|
||||
package test.PrivateMembers.Nested {
|
||||
private open fun staticMethodInNested(): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
package test
|
||||
|
||||
public trait RawTypeWithUpperBound {
|
||||
|
||||
|
||||
public trait Bar {
|
||||
public abstract fun f(/*0*/ p0: test.RawTypeWithUpperBound.Foo<out kotlin.CharSequence?>?): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
public trait Foo</*0*/ T : kotlin.CharSequence?> {
|
||||
}
|
||||
}
|
||||
|
||||
package test.RawTypeWithUpperBound {
|
||||
public /*synthesized*/ fun Bar(/*0*/ function: (test.RawTypeWithUpperBound.Foo<out kotlin.CharSequence?>?) -> kotlin.Unit): test.RawTypeWithUpperBound.Bar
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun Bar(/*0*/ function: (test.RawTypeWithUpperBound.Foo<out kotlin.CharSequence?>?) -> kotlin.Unit): test.RawTypeWithUpperBound.Bar
|
||||
}
|
||||
|
||||
@@ -1,17 +1,16 @@
|
||||
package test
|
||||
|
||||
public trait StringConstantInParam {
|
||||
|
||||
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
public constructor Anno(/*0*/ value: kotlin.String)
|
||||
public abstract fun value(): kotlin.String
|
||||
}
|
||||
|
||||
|
||||
test.StringConstantInParam.Anno(value = "hello": kotlin.String) public open class Class {
|
||||
public constructor Class()
|
||||
}
|
||||
}
|
||||
|
||||
package test.StringConstantInParam {
|
||||
public val HEL: kotlin.String = "hel"
|
||||
|
||||
// Static members
|
||||
public final val HEL: kotlin.String = "hel"
|
||||
}
|
||||
|
||||
@@ -1,31 +1,29 @@
|
||||
package test
|
||||
|
||||
public trait Nested {
|
||||
|
||||
|
||||
public trait Deeper1 {
|
||||
|
||||
|
||||
public trait Runnable {
|
||||
public abstract fun run(): kotlin.Unit
|
||||
public abstract fun run2(): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public trait Deeper2 {
|
||||
|
||||
|
||||
public trait Runnable {
|
||||
public abstract fun run(): kotlin.Unit
|
||||
}
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun Runnable(/*0*/ function: () -> kotlin.Unit): test.Nested.Deeper2.Runnable
|
||||
}
|
||||
|
||||
|
||||
public trait Runnable {
|
||||
public abstract fun run(): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
package test.Nested {
|
||||
public /*synthesized*/ fun Runnable(/*0*/ function: () -> kotlin.Unit): test.Nested.Runnable
|
||||
|
||||
package test.Nested.Deeper2 {
|
||||
public /*synthesized*/ fun Runnable(/*0*/ function: () -> kotlin.Unit): test.Nested.Deeper2.Runnable
|
||||
}
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun Runnable(/*0*/ function: () -> kotlin.Unit): test.Nested.Runnable
|
||||
}
|
||||
|
||||
@@ -1,22 +1,21 @@
|
||||
package test
|
||||
|
||||
public trait SamSubinterfaceOfTwo {
|
||||
|
||||
|
||||
public trait Sub : test.SamSubinterfaceOfTwo.Super1, test.SamSubinterfaceOfTwo.Super2<kotlin.String> {
|
||||
public abstract override /*2*/ /*fake_override*/ fun f(): kotlin.String?
|
||||
}
|
||||
|
||||
|
||||
public trait Super1 {
|
||||
public abstract fun f(): kotlin.CharSequence?
|
||||
}
|
||||
|
||||
|
||||
public trait Super2</*0*/ T> {
|
||||
public abstract fun f(): T?
|
||||
}
|
||||
}
|
||||
|
||||
package test.SamSubinterfaceOfTwo {
|
||||
public /*synthesized*/ fun Sub(/*0*/ function: () -> kotlin.String?): test.SamSubinterfaceOfTwo.Sub
|
||||
public /*synthesized*/ fun Super1(/*0*/ function: () -> kotlin.CharSequence?): test.SamSubinterfaceOfTwo.Super1
|
||||
public /*synthesized*/ fun </*0*/ T> Super2(/*0*/ function: () -> T?): test.SamSubinterfaceOfTwo.Super2<T>
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun Sub(/*0*/ function: () -> kotlin.String?): test.SamSubinterfaceOfTwo.Sub
|
||||
public final /*synthesized*/ fun Super1(/*0*/ function: () -> kotlin.CharSequence?): test.SamSubinterfaceOfTwo.Super1
|
||||
public final /*synthesized*/ fun </*0*/ T> Super2(/*0*/ function: () -> T?): test.SamSubinterfaceOfTwo.Super2<T>
|
||||
}
|
||||
|
||||
@@ -4,9 +4,8 @@ public open class Basic {
|
||||
public constructor Basic()
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
public open fun foo(/*0*/ p0: java.lang.Runnable?): kotlin.Unit
|
||||
}
|
||||
|
||||
package test.Basic {
|
||||
public /*synthesized*/ fun bar(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
// Static members
|
||||
public final /*synthesized*/ fun bar(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
public open fun bar(/*0*/ p0: java.lang.Runnable?): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,19 +1,18 @@
|
||||
package test
|
||||
|
||||
public trait DeepSamLoop {
|
||||
|
||||
|
||||
public trait Bar {
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: ((test.DeepSamLoop.Bar?) -> kotlin.Unit)?): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: test.DeepSamLoop.Foo?): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
public trait Foo {
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: ((test.DeepSamLoop.Foo?) -> kotlin.Unit)?): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: test.DeepSamLoop.Bar?): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
package test.DeepSamLoop {
|
||||
public /*synthesized*/ fun Bar(/*0*/ function: (test.DeepSamLoop.Foo?) -> kotlin.Unit): test.DeepSamLoop.Bar
|
||||
public /*synthesized*/ fun Foo(/*0*/ function: (test.DeepSamLoop.Bar?) -> kotlin.Unit): test.DeepSamLoop.Foo
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun Bar(/*0*/ function: (test.DeepSamLoop.Foo?) -> kotlin.Unit): test.DeepSamLoop.Bar
|
||||
public final /*synthesized*/ fun Foo(/*0*/ function: (test.DeepSamLoop.Bar?) -> kotlin.Unit): test.DeepSamLoop.Foo
|
||||
}
|
||||
|
||||
@@ -2,9 +2,8 @@ package test
|
||||
|
||||
public open class SeveralSamParameters {
|
||||
public constructor SeveralSamParameters()
|
||||
}
|
||||
|
||||
package test.SeveralSamParameters {
|
||||
public /*synthesized*/ fun findMaxAndInvokeCallback(/*0*/ p0: ((kotlin.String, kotlin.String) -> kotlin.Int)?, /*1*/ p1: kotlin.String?, /*2*/ p2: kotlin.String?, /*3*/ p3: (() -> kotlin.Unit)?): kotlin.String?
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun findMaxAndInvokeCallback(/*0*/ p0: ((kotlin.String, kotlin.String) -> kotlin.Int)?, /*1*/ p1: kotlin.String?, /*2*/ p2: kotlin.String?, /*3*/ p3: (() -> kotlin.Unit)?): kotlin.String?
|
||||
public open fun findMaxAndInvokeCallback(/*0*/ p0: java.util.Comparator<kotlin.String>?, /*1*/ p1: kotlin.String?, /*2*/ p2: kotlin.String?, /*3*/ p3: java.lang.Runnable?): kotlin.String?
|
||||
}
|
||||
|
||||
@@ -2,13 +2,12 @@ package test
|
||||
|
||||
public open class TypeParameterOfMethod {
|
||||
public constructor TypeParameterOfMethod()
|
||||
}
|
||||
|
||||
package test.TypeParameterOfMethod {
|
||||
public /*synthesized*/ fun </*0*/ T> max(/*0*/ p0: ((T, T) -> kotlin.Int)?, /*1*/ p1: T?, /*2*/ p2: T?): T?
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun </*0*/ T> max(/*0*/ p0: ((T, T) -> kotlin.Int)?, /*1*/ p1: T?, /*2*/ p2: T?): T?
|
||||
public open fun </*0*/ T> max(/*0*/ p0: java.util.Comparator<T>?, /*1*/ p1: T?, /*2*/ p2: T?): T?
|
||||
public /*synthesized*/ fun </*0*/ T : kotlin.CharSequence?> max2(/*0*/ p0: ((T, T) -> kotlin.Int)?, /*1*/ p1: T?, /*2*/ p2: T?): T?
|
||||
public final /*synthesized*/ fun </*0*/ T : kotlin.CharSequence?> max2(/*0*/ p0: ((T, T) -> kotlin.Int)?, /*1*/ p1: T?, /*2*/ p2: T?): T?
|
||||
public open fun </*0*/ T : kotlin.CharSequence?> max2(/*0*/ p0: java.util.Comparator<T>?, /*1*/ p1: T?, /*2*/ p2: T?): T?
|
||||
public /*synthesized*/ fun </*0*/ A : kotlin.CharSequence?, /*1*/ B : kotlin.List<A>?> method(/*0*/ p0: ((A, A) -> kotlin.Int)?, /*1*/ p1: B?): kotlin.Unit
|
||||
public final /*synthesized*/ fun </*0*/ A : kotlin.CharSequence?, /*1*/ B : kotlin.List<A>?> method(/*0*/ p0: ((A, A) -> kotlin.Int)?, /*1*/ p1: B?): kotlin.Unit
|
||||
public open fun </*0*/ A : kotlin.CharSequence?, /*1*/ B : kotlin.List<A>?> method(/*0*/ p0: java.util.Comparator<A>?, /*1*/ p1: B?): kotlin.Unit
|
||||
}
|
||||
|
||||
+5
-6
@@ -1,18 +1,17 @@
|
||||
package test
|
||||
|
||||
public trait AdapterDoesntOverrideDeclaration {
|
||||
|
||||
|
||||
public trait Sub : test.AdapterDoesntOverrideDeclaration.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun foo(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: java.lang.Runnable?): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
public trait Super {
|
||||
public abstract fun foo(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
package test.AdapterDoesntOverrideDeclaration {
|
||||
public /*synthesized*/ fun Super(/*0*/ function: ((() -> kotlin.Unit)?) -> kotlin.Unit): test.AdapterDoesntOverrideDeclaration.Super
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun Super(/*0*/ function: ((() -> kotlin.Unit)?) -> kotlin.Unit): test.AdapterDoesntOverrideDeclaration.Super
|
||||
}
|
||||
|
||||
+8
-9
@@ -1,25 +1,24 @@
|
||||
package test
|
||||
|
||||
public trait InheritedSameAdapters {
|
||||
|
||||
|
||||
public trait Sub : test.InheritedSameAdapters.Super1, test.InheritedSameAdapters.Super2 {
|
||||
public final override /*2*/ /*fake_override*/ fun foo(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
public abstract override /*2*/ /*fake_override*/ fun foo(/*0*/ p0: java.lang.Runnable?): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
public trait Super1 {
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: java.lang.Runnable?): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
public trait Super2 {
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: java.lang.Runnable?): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
package test.InheritedSameAdapters {
|
||||
public /*synthesized*/ fun Sub(/*0*/ function: (java.lang.Runnable?) -> kotlin.Unit): test.InheritedSameAdapters.Sub
|
||||
public /*synthesized*/ fun Super1(/*0*/ function: (java.lang.Runnable?) -> kotlin.Unit): test.InheritedSameAdapters.Super1
|
||||
public /*synthesized*/ fun Super2(/*0*/ function: (java.lang.Runnable?) -> kotlin.Unit): test.InheritedSameAdapters.Super2
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun Sub(/*0*/ function: (java.lang.Runnable?) -> kotlin.Unit): test.InheritedSameAdapters.Sub
|
||||
public final /*synthesized*/ fun Super1(/*0*/ function: (java.lang.Runnable?) -> kotlin.Unit): test.InheritedSameAdapters.Super1
|
||||
public final /*synthesized*/ fun Super2(/*0*/ function: (java.lang.Runnable?) -> kotlin.Unit): test.InheritedSameAdapters.Super2
|
||||
}
|
||||
|
||||
+10
-11
@@ -1,31 +1,30 @@
|
||||
package test
|
||||
|
||||
public trait InheritedSameAdaptersWithSubstitution {
|
||||
|
||||
|
||||
public trait Sub : test.InheritedSameAdaptersWithSubstitution.Super1, test.InheritedSameAdaptersWithSubstitution.Super2Substituted {
|
||||
public final override /*2*/ /*fake_override*/ fun foo(/*0*/ p0: ((kotlin.String, kotlin.String) -> kotlin.Int)?): kotlin.Unit
|
||||
public abstract override /*2*/ /*fake_override*/ fun foo(/*0*/ p0: java.util.Comparator<kotlin.String>?): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
public trait Super1 {
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: ((kotlin.String, kotlin.String) -> kotlin.Int)?): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: java.util.Comparator<kotlin.String>?): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
public trait Super2</*0*/ T> {
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: ((T, T) -> kotlin.Int)?): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: java.util.Comparator<T>?): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
public trait Super2Substituted : test.InheritedSameAdaptersWithSubstitution.Super2<kotlin.String> {
|
||||
public final override /*1*/ /*fake_override*/ fun foo(/*0*/ p0: ((kotlin.String, kotlin.String) -> kotlin.Int)?): kotlin.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun foo(/*0*/ p0: java.util.Comparator<kotlin.String>?): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
package test.InheritedSameAdaptersWithSubstitution {
|
||||
public /*synthesized*/ fun Sub(/*0*/ function: (java.util.Comparator<kotlin.String>?) -> kotlin.Unit): test.InheritedSameAdaptersWithSubstitution.Sub
|
||||
public /*synthesized*/ fun Super1(/*0*/ function: (java.util.Comparator<kotlin.String>?) -> kotlin.Unit): test.InheritedSameAdaptersWithSubstitution.Super1
|
||||
public /*synthesized*/ fun </*0*/ T> Super2(/*0*/ function: (java.util.Comparator<T>?) -> kotlin.Unit): test.InheritedSameAdaptersWithSubstitution.Super2<T>
|
||||
public /*synthesized*/ fun Super2Substituted(/*0*/ function: (java.util.Comparator<kotlin.String>?) -> kotlin.Unit): test.InheritedSameAdaptersWithSubstitution.Super2Substituted
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun Sub(/*0*/ function: (java.util.Comparator<kotlin.String>?) -> kotlin.Unit): test.InheritedSameAdaptersWithSubstitution.Sub
|
||||
public final /*synthesized*/ fun Super1(/*0*/ function: (java.util.Comparator<kotlin.String>?) -> kotlin.Unit): test.InheritedSameAdaptersWithSubstitution.Super1
|
||||
public final /*synthesized*/ fun </*0*/ T> Super2(/*0*/ function: (java.util.Comparator<T>?) -> kotlin.Unit): test.InheritedSameAdaptersWithSubstitution.Super2<T>
|
||||
public final /*synthesized*/ fun Super2Substituted(/*0*/ function: (java.util.Comparator<kotlin.String>?) -> kotlin.Unit): test.InheritedSameAdaptersWithSubstitution.Super2Substituted
|
||||
}
|
||||
|
||||
+6
-7
@@ -1,19 +1,18 @@
|
||||
package test
|
||||
|
||||
public trait InheritedSimple {
|
||||
|
||||
|
||||
public trait Sub : test.InheritedSimple.Super {
|
||||
public final override /*1*/ /*fake_override*/ fun foo(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun foo(/*0*/ p0: java.lang.Runnable?): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
public trait Super {
|
||||
public final /*synthesized*/ fun foo(/*0*/ p0: (() -> kotlin.Unit)?): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: java.lang.Runnable?): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
package test.InheritedSimple {
|
||||
public /*synthesized*/ fun Sub(/*0*/ function: (java.lang.Runnable?) -> kotlin.Unit): test.InheritedSimple.Sub
|
||||
public /*synthesized*/ fun Super(/*0*/ function: (java.lang.Runnable?) -> kotlin.Unit): test.InheritedSimple.Super
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun Sub(/*0*/ function: (java.lang.Runnable?) -> kotlin.Unit): test.InheritedSimple.Sub
|
||||
public final /*synthesized*/ fun Super(/*0*/ function: (java.lang.Runnable?) -> kotlin.Unit): test.InheritedSimple.Super
|
||||
}
|
||||
|
||||
@@ -2,17 +2,16 @@ package test
|
||||
|
||||
public open class RawSuperType {
|
||||
public constructor RawSuperType()
|
||||
|
||||
|
||||
public open inner class Derived : test.RawSuperType.Super<kotlin.Any?> {
|
||||
public constructor Derived()
|
||||
public open override /*1*/ fun foo(/*0*/ p0: kotlin.Any?): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
public trait Super</*0*/ T> {
|
||||
public abstract fun foo(/*0*/ p0: T?): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
package test.RawSuperType {
|
||||
public /*synthesized*/ fun </*0*/ T> Super(/*0*/ function: (T?) -> kotlin.Unit): test.RawSuperType.Super<T>
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun </*0*/ T> Super(/*0*/ function: (T?) -> kotlin.Unit): test.RawSuperType.Super<T>
|
||||
}
|
||||
|
||||
+5
-6
@@ -4,17 +4,16 @@ public /*synthesized*/ fun TwoSuperclassesInconsistentGenericTypes(/*0*/ functio
|
||||
|
||||
public trait TwoSuperclassesInconsistentGenericTypes {
|
||||
public abstract fun foo(): kotlin.MutableList<kotlin.String?>
|
||||
|
||||
|
||||
public trait Other {
|
||||
public abstract fun foo(): kotlin.MutableList<kotlin.String>?
|
||||
}
|
||||
|
||||
|
||||
public open class Sub : test.TwoSuperclassesInconsistentGenericTypes, test.TwoSuperclassesInconsistentGenericTypes.Other {
|
||||
public constructor Sub()
|
||||
public open override /*2*/ fun foo(): kotlin.MutableList<kotlin.String>
|
||||
}
|
||||
}
|
||||
|
||||
package test.TwoSuperclassesInconsistentGenericTypes {
|
||||
public /*synthesized*/ fun Other(/*0*/ function: () -> kotlin.MutableList<kotlin.String>?): test.TwoSuperclassesInconsistentGenericTypes.Other
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun Other(/*0*/ function: () -> kotlin.MutableList<kotlin.String>?): test.TwoSuperclassesInconsistentGenericTypes.Other
|
||||
}
|
||||
|
||||
+7
-8
@@ -1,22 +1,21 @@
|
||||
package test
|
||||
|
||||
public trait TwoSuperclassesVarargAndNot {
|
||||
|
||||
|
||||
public trait Sub : test.TwoSuperclassesVarargAndNot.Super1, test.TwoSuperclassesVarargAndNot.Super2 {
|
||||
public abstract override /*1*/ /*fake_override*/ fun foo(/*0*/ vararg p0: kotlin.String? /*kotlin.Array<kotlin.String?>*/): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ s: kotlin.Array<out kotlin.String?>?): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
public trait Super1 {
|
||||
public abstract fun foo(/*0*/ vararg p0: kotlin.String? /*kotlin.Array<kotlin.String?>*/): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
public trait Super2 {
|
||||
public abstract fun foo(/*0*/ s: kotlin.Array<out kotlin.String?>?): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
package test.TwoSuperclassesVarargAndNot {
|
||||
public /*synthesized*/ fun Super1(/*0*/ function: (kotlin.Array<kotlin.String?>) -> kotlin.Unit): test.TwoSuperclassesVarargAndNot.Super1
|
||||
public /*synthesized*/ fun Super2(/*0*/ function: (kotlin.Array<out kotlin.String?>?) -> kotlin.Unit): test.TwoSuperclassesVarargAndNot.Super2
|
||||
|
||||
// Static members
|
||||
public final /*synthesized*/ fun Super1(/*0*/ function: (kotlin.Array<kotlin.String?>) -> kotlin.Unit): test.TwoSuperclassesVarargAndNot.Super1
|
||||
public final /*synthesized*/ fun Super2(/*0*/ function: (kotlin.Array<out kotlin.String?>?) -> kotlin.Unit): test.TwoSuperclassesVarargAndNot.Super2
|
||||
}
|
||||
|
||||
@@ -2,21 +2,14 @@ package test
|
||||
|
||||
public open class DeeplyNestedStatic {
|
||||
public constructor DeeplyNestedStatic()
|
||||
|
||||
|
||||
public open class Foo {
|
||||
public constructor Foo()
|
||||
|
||||
|
||||
public open class Bar {
|
||||
public constructor Bar()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
package test.DeeplyNestedStatic {
|
||||
|
||||
package test.DeeplyNestedStatic.Foo {
|
||||
|
||||
package test.DeeplyNestedStatic.Foo.Bar {
|
||||
|
||||
// Static members
|
||||
public open fun method(): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,8 +3,7 @@ package test
|
||||
public open class Simple {
|
||||
public constructor Simple()
|
||||
public open fun foo(): kotlin.Unit
|
||||
}
|
||||
|
||||
package test.Simple {
|
||||
|
||||
// Static members
|
||||
public open fun bar(): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -2,8 +2,7 @@ package test
|
||||
|
||||
public open class StaticFinal {
|
||||
public constructor StaticFinal()
|
||||
}
|
||||
|
||||
package test.StaticFinal {
|
||||
public val foo: kotlin.String = "aaa"
|
||||
|
||||
// Static members
|
||||
public final val foo: kotlin.String = "aaa"
|
||||
}
|
||||
|
||||
@@ -4,29 +4,28 @@ public final enum class StaticMembersInEnum : kotlin.Enum<test.StaticMembersInEn
|
||||
private constructor StaticMembersInEnum()
|
||||
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-StaticMembersInEnum> {
|
||||
private constructor <class-object-for-StaticMembersInEnum>()
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.StaticMembersInEnum
|
||||
public final /*synthesized*/ fun values(): kotlin.Array<test.StaticMembersInEnum>
|
||||
}
|
||||
|
||||
|
||||
public enum entry ENTRY : test.StaticMembersInEnum {
|
||||
private constructor ENTRY()
|
||||
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-ENTRY> : test.StaticMembersInEnum.ENTRY {
|
||||
private constructor <class-object-for-ENTRY>()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
package test.StaticMembersInEnum {
|
||||
public val CONSTANT: test.StaticMembersInEnum
|
||||
public var STATIC_FIELD: kotlin.Int
|
||||
|
||||
// Static members
|
||||
public final val CONSTANT: test.StaticMembersInEnum
|
||||
public final var STATIC_FIELD: kotlin.Int
|
||||
public open fun foo(): kotlin.Unit
|
||||
public open fun valueOf(/*0*/ p0: kotlin.Int): kotlin.Unit
|
||||
public open fun values(/*0*/ p0: kotlin.Int): kotlin.Unit
|
||||
|
||||
Reference in New Issue
Block a user