default -> companion: replace all mentions of default and default object
This commit is contained in:
@@ -2,8 +2,8 @@ PsiJetFileStubImpl[package=]
|
||||
PACKAGE_DIRECTIVE:
|
||||
CLASS:[fqName=C, isEnumEntry=false, isLocal=false, isTopLevel=true, isTrait=false, name=C, superNames=[]]
|
||||
CLASS_BODY:
|
||||
OBJECT_DECLARATION:[fqName=C.Default, isDefault=true, isLocal=false, isObjectLiteral=false, isTopLevel=false, name=Default, superNames=[]]
|
||||
MODIFIER_LIST:[default]
|
||||
OBJECT_DECLARATION:[fqName=C.Companion, isDefault=true, isLocal=false, isObjectLiteral=false, isTopLevel=false, name=Companion, superNames=[]]
|
||||
MODIFIER_LIST:[companion]
|
||||
CLASS_BODY:
|
||||
FUN:[fqName=C.Default.foo, hasBlockBody=true, hasBody=true, hasTypeParameterListBeforeFunctionName=false, isExtension=false, isProbablyNothingType=false, isTopLevel=false, name=foo]
|
||||
FUN:[fqName=C.Companion.foo, hasBlockBody=true, hasBody=true, hasTypeParameterListBeforeFunctionName=false, isExtension=false, isProbablyNothingType=false, isTopLevel=false, name=foo]
|
||||
VALUE_PARAMETER_LIST:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
class C { default object {
|
||||
class C { companion object {
|
||||
fun foo() {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ PsiJetFileStubImpl[package=test]
|
||||
USER_TYPE:[isAbsoluteInRootPackage=false]
|
||||
REFERENCE_EXPRESSION:[referencedName=Int]
|
||||
TYPE_CONSTRAINT_LIST:
|
||||
TYPE_CONSTRAINT:[isDefaultObjectConstraint=false]
|
||||
TYPE_CONSTRAINT:[isCompanionObjectConstraint=false]
|
||||
REFERENCE_EXPRESSION:[referencedName=G]
|
||||
TYPE_REFERENCE:
|
||||
USER_TYPE:[isAbsoluteInRootPackage=false]
|
||||
|
||||
Reference in New Issue
Block a user