mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
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:
committed by
Mikhail Glukhikh
parent
cb91c6b977
commit
3e69838f48
@@ -1,4 +1,4 @@
|
||||
public abstract interface LoadIterableWithNullability<T> : R|java/lang/Object| {
|
||||
public abstract interface LoadIterableWithNullability<T> : R|kotlin/Any| {
|
||||
@R|org/jetbrains/annotations/NotNull|() @R|kotlin/annotations/jvm/Mutable|() public abstract operator fun getIterable(): R|kotlin/collections/MutableIterable<ft<T, T?>>|
|
||||
|
||||
public abstract operator fun setIterable(@R|kotlin/annotations/jvm/Mutable|() @R|org/jetbrains/annotations/NotNull|() Iterable: R|kotlin/collections/MutableIterable<ft<T, T?>>|): R|kotlin/Unit|
|
||||
|
||||
Reference in New Issue
Block a user