default -> companion: replace all mentions of default and default object

This commit is contained in:
Pavel V. Talanov
2015-03-16 14:56:06 +03:00
parent a0783757e8
commit 06916d98c6
1019 changed files with 2468 additions and 2469 deletions
@@ -2,7 +2,7 @@ class Foo {
{Foo.test()}
default object {
companion object {
private fun test() {
}
@@ -10,5 +10,5 @@ class Foo {
}
// TESTED_OBJECT_KIND: function
// TESTED_OBJECTS: Foo$Default, test
// TESTED_OBJECTS: Foo$Companion, test
// FLAGS: ACC_PRIVATE, ACC_FINAL
@@ -2,11 +2,11 @@ class Foo {
{Foo.test}
default object {
companion object {
private val test = "String"
}
}
// TESTED_OBJECT_KIND: function
// TESTED_OBJECTS: Foo$Default, getTest
// TESTED_OBJECTS: Foo$Companion, getTest
// FLAGS: ACC_PRIVATE, ACC_FINAL
@@ -2,11 +2,11 @@ class Foo {
{Foo.test}
default object {
companion object {
private var test = "String"
}
}
// TESTED_OBJECT_KIND: function
// TESTED_OBJECTS: Foo$Default, setTest
// TESTED_OBJECTS: Foo$Companion, setTest
// FLAGS: ACC_PRIVATE, ACC_FINAL