boolean (PsiBuilder builder, IElementType tokenType) { if (tokenType == JavaTokenType.IDENTIFIER && PsiKeyword.RECORD.equals(builder.getTokenText()) && builder.lookAhead(1) == JavaTokenType.IDENTIFIER) { LanguageLevel level = getLanguageLevel(builder); return level.isAtLeast(LanguageLevel.JDK_16); } return false; }