IElementType () { IElementType type = myLiteralType; if (type == null) { JavaLexer lexer = new JavaLexer(LanguageLevel.HIGHEST); lexer.start(myLiteralText); myLiteralType = type = lexer.getTokenType(); assert type != null : myLiteralText; } return type; }