/** @see CompletionDataEP */
 @Deprecated
 public static void registerCompletionData(
     FileType fileType, final CompletionData completionData) {
   registerCompletionData(
       fileType,
       new NotNullLazyValue<CompletionData>() {
         @Override
         @NotNull
         protected CompletionData compute() {
           return completionData;
         }
       });
 }
  private static void init(final AbstractFileType abstractFileType) {
    SyntaxTable table = abstractFileType.getSyntaxTable();
    CompletionUtil.registerCompletionData(abstractFileType, new SyntaxTableCompletionData(table));

    if (!isEmpty(table.getStartComment()) && !isEmpty(table.getEndComment())
        || !isEmpty(table.getLineComment())) {
      abstractFileType.setCommenter(new MyCommenter(abstractFileType));
    }

    if (table.isHasBraces() || table.isHasBrackets() || table.isHasParens()) {
      BraceMatchingUtil.registerBraceMatcher(abstractFileType, new CustomFileTypeBraceMatcher());
    }

    TypedHandler.registerQuoteHandler(abstractFileType, new CustomFileTypeQuoteHandler());
  }