Minor: rename createMemberScope -> createScopesHolderForClass

This commit is contained in:
Dmitry Savvinov
2021-02-25 17:38:34 +03:00
parent 2bf3abcb29
commit e3d4c440b5
@@ -54,7 +54,6 @@ import java.util.Collection;
import java.util.Collections;
import java.util.List;
import static kotlin.collections.CollectionsKt.emptyList;
import static kotlin.collections.CollectionsKt.firstOrNull;
import static org.jetbrains.kotlin.descriptors.DescriptorVisibilities.PRIVATE;
import static org.jetbrains.kotlin.descriptors.DescriptorVisibilities.PUBLIC;
@@ -130,7 +129,7 @@ public class LazyClassDescriptor extends ClassDescriptorBase implements ClassDes
StorageManager storageManager = c.getStorageManager();
this.scopesHolderForClass = createMemberScope(c, this.declarationProvider);
this.scopesHolderForClass = createScopesHolderForClass(c, this.declarationProvider);
this.kind = classLikeInfo.getClassKind();
this.staticScope = kind == ClassKind.ENUM_CLASS ? new StaticScopeForKotlinEnum(storageManager, this) : MemberScope.Empty.INSTANCE;
@@ -321,7 +320,7 @@ public class LazyClassDescriptor extends ClassDescriptorBase implements ClassDes
// NOTE: Called from constructor!
@NotNull
protected ScopesHolderForClass<LazyClassMemberScope> createMemberScope(
protected ScopesHolderForClass<LazyClassMemberScope> createScopesHolderForClass(
@NotNull LazyClassContext c,
@NotNull ClassMemberDeclarationProvider declarationProvider
) {