Sergio Pro08/19/2019, 6:52 AM
, which is naturally visible in the implementation classes, but not outside. If I try to access protected member from "outside", I get
protected var counter: Int
compilation error. This is in Kotlin-only code. However from Java I can see all the protected members as well and can access
Can not access 'counter': it is protected in ...
. Seems like a strange behavior to me and I couldn't fine anything in the docs.
louiscad08/19/2019, 7:16 AM
is also implictly
(i.e. not so protected)
Sergio Pro08/19/2019, 7:18 AM
louiscad08/19/2019, 7:20 AM
karelpeeters08/19/2019, 7:39 AM
louiscad08/19/2019, 7:59 AM