FIR Java: map classes to make java type-parameters have correct bounds

Really, this commit implements early J2K mapping for all Java types.
It's questionable and probably wrong at least for super-types,
because, for example, we cannot resolve spliterator() in classes
derived from java.lang.Iterable
This commit is contained in:
Simon Ogorodnik
2019-04-23 04:22:12 +03:00
committed by Mikhail Glukhikh
parent cb91c6b977
commit 3e69838f48
279 changed files with 338 additions and 337 deletions
@@ -1,2 +1,2 @@
public open class ProtectedPackageConstructor : R|java/lang/Object| {
public open class ProtectedPackageConstructor : R|kotlin/Any| {
}
@@ -1,4 +1,4 @@
public open class ProtectedPackageFun : R|java/lang/Object| {
public open class ProtectedPackageFun : R|kotlin/Any| {
protected/*protected and package*/ open operator fun foo(): R|kotlin/Unit|
}
@@ -1,4 +1,4 @@
public open class ProtectedPackageProperty : R|java/lang/Object| {
public open class ProtectedPackageProperty : R|kotlin/Any| {
protected/*protected and package*/ open var foo: R|kotlin/Int|
protected/*protected and package*/ get(): R|kotlin/Int|
protected/*protected and package*/ set(value: R|kotlin/Int|): kotlin/Unit