New J2K: Fix existing test data
This commit is contained in:
committed by
Ilya Kirillov
parent
76b73542d9
commit
b13f7431f2
@@ -0,0 +1,17 @@
|
||||
package test
|
||||
|
||||
class Short(s: String?) {
|
||||
companion object {
|
||||
fun valueOf(value: String): Short {
|
||||
return Short(value)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal object Test {
|
||||
fun test() {
|
||||
Short.valueOf("1")
|
||||
test.Short.valueOf("1")
|
||||
java.lang.Short.valueOf("1")
|
||||
}
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
internal class T {
|
||||
var a: String? = "abc"
|
||||
var b = 10
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
internal class T {
|
||||
var a: String? = null
|
||||
var b: String? = null
|
||||
var c: String? = "abc"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
internal object Util {
|
||||
const val publicStr = ""
|
||||
internal const val protectedStr = ""
|
||||
const val packageStr = ""
|
||||
private const val privateStr = ""
|
||||
fun publicMethod() {}
|
||||
internal fun protectedMethod() {}
|
||||
fun packageMethod() {}
|
||||
private fun privateMethod() {}
|
||||
}
|
||||
Reference in New Issue
Block a user