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
@@ -36,7 +36,7 @@ public class PsiExpressionStatementImpl extends CompositePsiElement implements P
|
||||
public PsiExpression getExpression() {
|
||||
PsiExpression expression = (PsiExpression)SourceTreeToPsiMap.treeElementToPsi(findChildByType(ElementType.EXPRESSION_BIT_SET));
|
||||
if (expression != null) return expression;
|
||||
LOG.error("Illegal PSI. Children: " + DebugUtil.psiToString(this, false));
|
||||
LOG.error("Illegal PSI: \n" + DebugUtil.psiToString(getParent(), false));
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user