ASTNode () { final PsiFile dummyFile = createDummyFile(LanguageLevel.getDefault(), "a.b"); final PyExpressionStatement expressionStatement = (PyExpressionStatement)dummyFile.getFirstChild(); ASTNode dot = expressionStatement.getFirstChild().getNode().getFirstChildNode().getTreeNext(); return dot.copyElement(); }