logging for EA-47328 - assert: AnchorElementInfoFactory.getAnchor

This commit is contained in:
Anna Kozlova
2013-06-27 13:29:14 +04:00
parent faad78042f
commit 1e6fa2a3cb
@@ -55,7 +55,7 @@ public class AnchorElementInfoFactory implements SmartPointerElementInfoFactory
@Nullable
static PsiElement getAnchor(PsiElement element) {
LOG.assertTrue(element.isValid());
LOG.assertTrue(element.isValid(), element);
PsiElement anchor = null;
if (element instanceof PsiClass) {
if (element instanceof PsiAnonymousClass) {