Added static methods, nested classes and companion object from superclasses.
This commit is contained in:
+37
@@ -0,0 +1,37 @@
|
||||
open class A {
|
||||
companion object {
|
||||
class B
|
||||
}
|
||||
}
|
||||
|
||||
class C: A() {
|
||||
val b: B = null!!
|
||||
|
||||
init {
|
||||
B()
|
||||
}
|
||||
|
||||
object O {
|
||||
val b: B = null!!
|
||||
|
||||
init {
|
||||
B()
|
||||
}
|
||||
}
|
||||
|
||||
class K {
|
||||
val b: B = null!!
|
||||
|
||||
init {
|
||||
B()
|
||||
}
|
||||
}
|
||||
|
||||
inner class I {
|
||||
val b: B = null!!
|
||||
|
||||
init {
|
||||
B()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user