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
@@ -1,7 +1,7 @@
package test
class WithClassObject {
default object {
companion object {
fun foo() {}
val value: Int = 0
@@ -4,7 +4,7 @@ import kotlin.platform.platformStatic
class A {
default object {
companion object {
val b: String = "OK"
platformStatic fun test1() {
@@ -3,7 +3,7 @@ package test
import kotlin.platform.platformStatic
class A {
default object {
companion object {
[platformStatic] val b: String = "OK"
var A.c: String
@@ -10,7 +10,7 @@ annotation class AFloat(val value: Float)
class Test {
default object {
companion object {
val vstring: String = "Test"
val vchar: Char = 'c'
val vint: Int = 10
@@ -10,7 +10,7 @@ annotation class AFloat(val value: Float)
trait Test {
default object {
companion object {
val vstring: String = "Test"
val vchar: Char = 'c'
val vint: Int = 10
@@ -1,7 +1,7 @@
package test
class KotlinClass {
default object {
companion object {
val FOO: Int = 10
}
}
@@ -2,7 +2,7 @@ package test
class Test {
default object {
companion object {
public val valProp: Int = 10
public var varProp: Int = 10
@@ -2,7 +2,7 @@ package test
trait Test {
default object {
companion object {
public val valProp: Int = 10
}