mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
EA-76190 - PIEAE: StubBasedPsiElementBase.getContainingFile
This commit is contained in:
@@ -370,7 +370,8 @@ public final class NavigationUtil {
|
||||
//noinspection ConstantConditions
|
||||
return ((GotoRelatedItem)value).getCustomName();
|
||||
}
|
||||
final PsiElement element = (PsiElement)value;
|
||||
PsiElement element = (PsiElement)value;
|
||||
if (!element.isValid()) return "INVALID";
|
||||
return renderer.getElementText(element) + " " + renderer.getContainerText(element, null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user