Files
kotlin-fork/idea/testData/refactoring/pullUp/j2k/fromClassToClassAndMakeAbstract.kt.after
T
Nikolay Krasko 1bc8ad7852 Don't mess up with configuring project descriptors in PullPush tests
This commit fixes tests in 173 branch.
2017-11-30 13:24:05 +03:00

27 lines
723 B
Plaintext
Vendored

abstract class A {
// INFO: {"checked": "true", "toAbstract": "true"}
var x = 2 * 3
// INFO: {"checked": "true", "toAbstract": "true"}
internal inner class X
// INFO: {"checked": "true", "toAbstract": "true"}
internal class Y
// INFO: {"checked": "true", "toAbstract": "true"}
abstract fun foo(n: Int): Boolean
// INFO: {"checked": "true", "toAbstract": "true"}
abstract fun bar(s: String): Int
companion object {
// INFO: {"checked": "true", "toAbstract": "true"}
var X = "1" + "2"
// INFO: {"checked": "true", "toAbstract": "true"}
@kotlin.jvm.JvmStatic
fun foo2(n: Int): String {
return "_" + n + "_"
}
}
}