New J2K: Fix existing test data
This commit is contained in:
committed by
Ilya Kirillov
parent
9c71d5ca25
commit
ea2081c2f0
@@ -0,0 +1,39 @@
|
||||
package test
|
||||
|
||||
class BaseProtectedConstructor {
|
||||
fun usageInConstructor() {
|
||||
|
||||
}
|
||||
|
||||
fun usageInPropertyInitializer(): Int {
|
||||
return 1
|
||||
}
|
||||
|
||||
fun usageInStaticInit() {
|
||||
|
||||
}
|
||||
|
||||
fun usageInMethod() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
internal class DerivedSamePackage {
|
||||
|
||||
private val i = BaseProtectedConstructor().usageInPropertyInitializer()
|
||||
|
||||
init {
|
||||
BaseProtectedConstructor().usageInConstructor()
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
||||
init {
|
||||
BaseProtectedConstructor().usageInStaticInit()
|
||||
}
|
||||
}
|
||||
|
||||
fun usage() {
|
||||
BaseProtectedConstructor().usageInMethod()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user