mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
suppressed for kotlin; initially code provides cls -> mirror transition (IDEA-132226)
This commit is contained in:
@@ -98,7 +98,10 @@ public class JavaFindUsagesHandler extends FindUsagesHandler{
|
||||
final PsiMethod method = (PsiMethod)parameter.getDeclarationScope();
|
||||
PsiMethod[] overrides = OverridingMethodsSearch.search(method, true).toArray(PsiMethod.EMPTY_ARRAY);
|
||||
for (int i = 0; i < overrides.length; i++) {
|
||||
overrides[i] = (PsiMethod)overrides[i].getNavigationElement();
|
||||
final PsiElement navigationElement = overrides[i].getNavigationElement();
|
||||
if (navigationElement instanceof PsiMethod) {
|
||||
overrides[i] = (PsiMethod)navigationElement;
|
||||
}
|
||||
}
|
||||
List<PsiElement> elementsToSearch = new ArrayList<PsiElement>(overrides.length + 1);
|
||||
elementsToSearch.add(parameter);
|
||||
|
||||
Reference in New Issue
Block a user