Interesting finding: if you have classes defined i...
# announcements
m
Interesting finding: if you have classes defined in java in following way
Copy code
abstract class A {
    public static class InnerClassB {
    ...
    }
}
====
public class ChildOfA extends A {}
====
Then accessing
InnerClassB
via
ChildOfA
(aka
ChildOfA.InnerClassB
) is possible in Java but not in Kotlin 😄. Stumbled upon this while using some 3rd party library. Note class
A
has package visibility and I can’t use their API.