abstract class Comment extends AnyRef
A Scaladoc comment and all its tags.
Note: the only instantiation site of this class is in model.CommentFactory.
- Source
- Comment.scala
- Alphabetic
- By Inheritance
- Comment
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Comment()
Abstract Value Members
- abstract def authors: List[Body]
A list of authors.
A list of authors. The empty list is used when no author is defined.
- abstract def body: Body
The main body of the comment that describes what the entity does and is.
- abstract def constructor: Option[Body]
A description for the primary constructor
- abstract def contentDiagram: List[String]
A set of diagram directives for the content diagram
- abstract def deprecated: Option[Body]
Whether the entity is deprecated.
Whether the entity is deprecated. Using the
@deprecated
Scala attribute is preferable to using this Scaladoc tag. - abstract def example: List[Body]
A usage example related to the entity.
- abstract def group: Option[String]
The group this member is part of
- abstract def groupDesc: Map[String, Body]
Member group descriptions
- abstract def groupNames: Map[String, String]
Member group names (overriding the short tag)
- abstract def groupPrio: Map[String, Int]
Member group priorities
- abstract def hideImplicitConversions: List[String]
A list of implicit conversions to hide
- abstract def inheritDiagram: List[String]
A set of diagram directives for the inheritance diagram
- abstract def note: List[Body]
An additional note concerning the contract of the entity.
- abstract def result: Option[Body]
A description of the result of the entity.
A description of the result of the entity. Typically, this provides additional information on the domain of the result, contractual post-conditions, etc.
- abstract def see: List[Body]
A list of other resources to see, including links to other entities or to external documentation.
A list of other resources to see, including links to other entities or to external documentation. The empty list is used when no other resource is mentioned.
- abstract def shortDescription: Option[Text]
A short description used in the entity-view and search results
- abstract def since: Option[Body]
A version number of a containing entity where this member-entity was introduced.
- abstract def throws: Map[String, Body]
A map of exceptions that the entity can throw when accessed, and a description of what they mean.
- abstract def todo: List[Body]
An annotation as to expected changes on this entity.
- abstract def typeParams: Map[String, Body]
A map of type parameters, and a description of what they are.
A map of type parameters, and a description of what they are. Typically, this provides additional information on the domain of the parameters.
- abstract def valueParams: Map[String, Body]
A map of value parameters, and a description of what they are.
A map of value parameters, and a description of what they are. Typically, this provides additional information on the domain of the parameters, contractual pre-conditions, etc.
- abstract def version: Option[Body]
The version number of the entity.
The version number of the entity. There is no formatting or further meaning attached to this value.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Comment, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def ensuring(cond: (Comment) => Boolean, msg: => Any): Comment
- def ensuring(cond: (Comment) => Boolean): Comment
- def ensuring(cond: Boolean, msg: => Any): Comment
- def ensuring(cond: Boolean): Comment
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def short: Inline
A shorter version of the body.
A shorter version of the body. Either from
@shortDescription
or the first sentence of the body. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Comment → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Comment toStringFormat[Comment] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (Comment, B)
- Implicit
- This member is added by an implicit conversion from Comment toArrowAssoc[Comment] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
The Scala compiler and reflection APIs.