I have a need to include */ in my JavaDoc comment. The problem is that this is also the same sequence for closing a comment. What the proper way to quote/escape
*/
/** * Returns true if the specified string contains "*/". */
This is the ‘right’ solution, but for readability's sake I'd probably go for:
/** * Returns true if the string contains an asterisk followed by slash. */