private boolean hasCloseCommentSlash(IDocument d, DocumentCommand c, int endOfWhiteSpace) throws BadLocationException {
        int nextCharPos = endOfWhiteSpace + c.text.length();
        if (d.getLength() < nextCharPos + 1) {
            return false;
        }
        if (d.getChar(nextCharPos) == '*' && d.getChar(nextCharPos + 1) == '/') {
            return true;
        }
        int nextCharPosAfterDelimiter = endOfWhiteSpace + c.text.length() + getLineDelimiter(d).length();
        if (d.getLength() >= nextCharPosAfterDelimiter + 2) {
            return d.getChar(nextCharPosAfterDelimiter + 1) == '*' && d.getChar(nextCharPosAfterDelimiter + 2) == '/';
        }
        return false;
    }
Copies the indentation of the previous line and add a star. If the SQL multi-line comment just started on this
line add standard method tags and close the comment.

@param d the document to work on
@param c the command to deal with
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/indent/SQLCommentAutoIndentStrategy.java