boolean () { ApplicationManager.getApplication().assertReadAccessAllowed(); for (ASTNode child = getFirstChildNode(); child != null; child = child.getTreeNext()) { if (child.getPsi() instanceof PsiStatement) { return false; } } return true; }