diff --git a/compiler/backend/src/org/jetbrains/jet/codegen/binding/CodegenBinding.java b/compiler/backend/src/org/jetbrains/jet/codegen/binding/CodegenBinding.java index f30b166d06e..79e4284f5e1 100644 --- a/compiler/backend/src/org/jetbrains/jet/codegen/binding/CodegenBinding.java +++ b/compiler/backend/src/org/jetbrains/jet/codegen/binding/CodegenBinding.java @@ -236,7 +236,8 @@ public class CodegenBinding { registerClassNameForScript(bindingTrace, descriptor, className); } - @NotNull public static Collection allFilesInNamespaces(BindingContext bindingContext, Collection files) { + @NotNull + public static Collection allFilesInNamespaces(BindingContext bindingContext, Collection files) { // todo: we use Set and add given files but ignoring other scripts because something non-clear kept in binding // for scripts especially in case of REPL @@ -275,12 +276,6 @@ public class CodegenBinding { return sortedAnswer; } - public static boolean isMultiFileNamespace(BindingContext bindingContext, FqName fqName) { - NamespaceDescriptor namespaceDescriptor = bindingContext.get(BindingContext.FQNAME_TO_NAMESPACE_DESCRIPTOR, fqName); - Collection jetFiles = bindingContext.get(NAMESPACE_TO_FILES, namespaceDescriptor); - return jetFiles != null && jetFiles.size() > 1; - } - public static boolean isObjectLiteral(BindingContext bindingContext, ClassDescriptor declaration) { PsiElement psiElement = descriptorToDeclaration(bindingContext, declaration); if (psiElement instanceof JetObjectDeclaration && ((JetObjectDeclaration) psiElement).isObjectLiteral()) {