ASTNode (String name, LanguageLevel languageLevel) { final PsiFile dummyFile = createDummyFile(languageLevel, name); final PyExpressionStatement expressionStatement = (PyExpressionStatement)dummyFile.getFirstChild(); final PyReferenceExpression refExpression = (PyReferenceExpression)expressionStatement.getFirstChild(); return refExpression.getNode().getFirstChildNode(); }