diff --git a/idea/idea-core/src/org/jetbrains/kotlin/idea/core/script/dependencies/JavaClassesInScriptDependenciesShortNameCache.kt b/idea/idea-core/src/org/jetbrains/kotlin/idea/core/script/dependencies/JavaClassesInScriptDependenciesShortNameCache.kt index f0f696b4d6b..e5877a61ff4 100644 --- a/idea/idea-core/src/org/jetbrains/kotlin/idea/core/script/dependencies/JavaClassesInScriptDependenciesShortNameCache.kt +++ b/idea/idea-core/src/org/jetbrains/kotlin/idea/core/script/dependencies/JavaClassesInScriptDependenciesShortNameCache.kt @@ -39,17 +39,17 @@ class JavaClassesInScriptDependenciesShortNameCache(private val project: Project return classes.toTypedArray() } - override fun getMethodsByName(name: String, scope: GlobalSearchScope) = PsiMethod.EMPTY_ARRAY + override fun getMethodsByName(name: String, scope: GlobalSearchScope): Array = PsiMethod.EMPTY_ARRAY override fun getAllMethodNames() = emptyArray() - override fun getFieldsByName(name: String, scope: GlobalSearchScope) = PsiField.EMPTY_ARRAY + override fun getFieldsByName(name: String, scope: GlobalSearchScope): Array = 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.EMPTY_ARRAY override fun processMethodsWithName(name: String, scope: GlobalSearchScope, processor: Processor) = true override fun getAllFieldNames() = emptyArray() - override fun getFieldsByNameIfNotMoreThan(name: String, scope: GlobalSearchScope, maxCount: Int) = PsiField.EMPTY_ARRAY + override fun getFieldsByNameIfNotMoreThan(name: String, scope: GlobalSearchScope, maxCount: Int): Array = PsiField.EMPTY_ARRAY } \ No newline at end of file