From e0e6b6e7c6d4e7022fcad400d5283ce89a7e15fe Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Mon, 25 Feb 2013 13:00:35 +0400 Subject: [PATCH] diagnostics --- .../navigation/actions/GotoTypeDeclarationAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/navigation/actions/GotoTypeDeclarationAction.java b/platform/lang-impl/src/com/intellij/codeInsight/navigation/actions/GotoTypeDeclarationAction.java index e0d06b82b14f..ba7bc9d08159 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/navigation/actions/GotoTypeDeclarationAction.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/navigation/actions/GotoTypeDeclarationAction.java @@ -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());