boolean () { if (!atToken(PyTokenTypes.IDENTIFIER) || "_".equals(myBuilder.getTokenText())) { return false; } IElementType afterName = myBuilder.lookAhead(1); return afterName != PyTokenTypes.DOT && afterName != PyTokenTypes.LPAR; }