[light classes] move JavaElementFinder to light-classes-base module

^KT-53097
This commit is contained in:
Dmitry Gridin
2022-07-07 20:03:19 +02:00
committed by Space
parent 4432244317
commit 36926d9ad1
2 changed files with 2 additions and 3 deletions
@@ -1,11 +1,10 @@
/*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.asJava.finder
import com.google.common.collect.Sets
import com.intellij.openapi.project.Project
import com.intellij.openapi.util.Condition
import com.intellij.psi.*
@@ -105,7 +104,7 @@ class JavaElementFinder(
val declarations = kotlinAsJavaSupport.findClassOrObjectDeclarationsInPackage(packageFQN, scope)
val answer = Sets.newHashSet<String>()
val answer = hashSetOf<String>()
answer.addAll(kotlinAsJavaSupport.getFacadeNames(packageFQN, scope))
for (declaration in declarations) {