mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diagnostics
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ public class GotoTypeDeclarationAction extends BaseCodeInsightAction implements
|
||||
|
||||
private static void navigate(@NotNull Project project, @NotNull PsiElement symbolType) {
|
||||
PsiElement element = symbolType.getNavigationElement();
|
||||
assert element != null;
|
||||
assert element != null : "SymbolType :"+symbolType+"; file: "+symbolType.getContainingFile();
|
||||
VirtualFile file = element.getContainingFile().getVirtualFile();
|
||||
if (file != null) {
|
||||
OpenFileDescriptor descriptor = new OpenFileDescriptor(project, file, element.getTextOffset());
|
||||
|
||||
Reference in New Issue
Block a user