private static boolean isSealedToken(PsiBuilder builder, IElementType tokenType) {
    return JavaFeature.SEALED_CLASSES.isSufficient(getLanguageLevel(builder)) &&
           tokenType == JavaTokenType.IDENTIFIER &&
           PsiKeyword.SEALED.equals(builder.getTokenText());
  }
private static boolean isSealedToken(PsiBuilder builder, IElementType tokenType)