201: PsiShortNamesCache.getAllClassNames(HashSet<String>) removed

This commit is contained in:
Nikolay Krasko
2020-01-31 02:28:12 +03:00
committed by Nikolay Krasko
parent 4668518b2f
commit cf78058cc2
@@ -39,17 +39,17 @@ class JavaClassesInScriptDependenciesShortNameCache(private val project: Project
return classes.toTypedArray() return classes.toTypedArray()
} }
override fun getMethodsByName(name: String, scope: GlobalSearchScope) = PsiMethod.EMPTY_ARRAY override fun getMethodsByName(name: String, scope: GlobalSearchScope): Array<PsiMethod> = PsiMethod.EMPTY_ARRAY
override fun getAllMethodNames() = emptyArray<String>() override fun getAllMethodNames() = emptyArray<String>()
override fun getFieldsByName(name: String, scope: GlobalSearchScope) = PsiField.EMPTY_ARRAY override fun getFieldsByName(name: String, scope: GlobalSearchScope): Array<PsiField> = PsiField.EMPTY_ARRAY
override fun getMethodsByNameIfNotMoreThan(name: String, scope: GlobalSearchScope, maxCount: Int) = PsiMethod.EMPTY_ARRAY override fun getMethodsByNameIfNotMoreThan(name: String, scope: GlobalSearchScope, maxCount: Int): Array<PsiMethod> = PsiMethod.EMPTY_ARRAY
override fun processMethodsWithName(name: String, scope: GlobalSearchScope, processor: Processor<PsiMethod>) = true override fun processMethodsWithName(name: String, scope: GlobalSearchScope, processor: Processor<PsiMethod>) = true
override fun getAllFieldNames() = emptyArray<String>() override fun getAllFieldNames() = emptyArray<String>()
override fun getFieldsByNameIfNotMoreThan(name: String, scope: GlobalSearchScope, maxCount: Int) = PsiField.EMPTY_ARRAY override fun getFieldsByNameIfNotMoreThan(name: String, scope: GlobalSearchScope, maxCount: Int): Array<PsiField> = PsiField.EMPTY_ARRAY
} }