34a49b3f56
If a class is not referenced by the ABI class file, its InnerClasses entry should only be kept if it's the current class or a descendant of the current class.
21 lines
469 B
Kotlin
Vendored
21 lines
469 B
Kotlin
Vendored
@Anno(Outer.Middle.Inner::class)
|
|
class InAnnotation {}
|
|
|
|
class InPublicMethod {
|
|
fun foo(x: Outer.Middle.Inner): Class<*> = OuterKt.MiddleKt.InnerKt::class.java
|
|
}
|
|
|
|
class InPrivateMethod {
|
|
private fun foo(x: Outer.Middle.Inner): Class<*> = OuterKt.MiddleKt.InnerKt::class.java
|
|
}
|
|
|
|
class InInlineMethod {
|
|
inline fun foo(x: Outer.Middle.Inner): Class<*> = OuterKt.MiddleKt.InnerKt::class.java
|
|
}
|
|
|
|
class OuterKt {
|
|
class MiddleKt {
|
|
class InnerKt
|
|
}
|
|
}
|