boolean (PsiBuilder b) { IElementType type = b.getTokenType(); if (IMPORT_LIST_STOPPER_SET.contains(type) || BasicDeclarationParser.isRecordToken(b, type)) return true; if (type == JavaTokenType.IDENTIFIER) { String text = b.getTokenText(); if (PsiKeyword.OPEN.equals(text) || PsiKeyword.MODULE.equals(text)) return true; } return false; }