

See also

 Related task: Comments
 Related task: Here_document


/**
  * This is a class documentation comment. This text shows at the top of the page for this class
  *
  * @author Joe Schmoe
  */
class Doc {
  /**
    * This is a field comment for a variable
    */
  private val field = 0
 
  /**
    * This is a method comment. It has parameter tags (param) and a return value tag (return).
    *
    * @param num a number with the variable name "num"
    * @return another number
    */
  def method(num: Long): Int = {
    //...code here
    ???
  }
}