void (final @NotNull AbstractFileType abstractFileType) { SyntaxTable table = abstractFileType.getSyntaxTable(); if (!StringUtil.isEmpty(table.getStartComment()) && !StringUtil.isEmpty(table.getEndComment()) || !StringUtil.isEmpty(table.getLineComment())) { abstractFileType.setCommenter(new MyCommenter(abstractFileType)); } TypedHandler.registerQuoteHandler(abstractFileType, new CustomFileTypeQuoteHandler()); }