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
@@ -9,7 +9,7 @@ open class Buildable {
class List<T> {
default object : Buildable {
companion object : Buildable {
override fun newBuilder<E, R>() : Builder<E, R>
}
@@ -133,7 +133,7 @@ JetFile: PolymorphicClassObjects.kt
PsiWhiteSpace('\n\n ')
OBJECT_DECLARATION
MODIFIER_LIST
PsiElement(default)('default')
PsiElement(companion)('companion')
PsiWhiteSpace(' ')
PsiElement(object)('object')
PsiWhiteSpace(' ')
@@ -1,5 +1,5 @@
class Pair(x : Int, y : Int) {
default object {
companion object {
fun copy(from : Pair, x : Int = from.x, y : Int = from.y) = Pair(x, y)
}
}
@@ -34,7 +34,7 @@ JetFile: UpdateOperation.kt
PsiWhiteSpace('\n ')
OBJECT_DECLARATION
MODIFIER_LIST
PsiElement(default)('default')
PsiElement(companion)('companion')
PsiWhiteSpace(' ')
PsiElement(object)('object')
PsiWhiteSpace(' ')