Dotty Documentation

0.15.0-bin-SNAPSHOT

final class AnnotInfo
extends AnyVal

A decorator that provides queries for specific annotations of a symbol.

[-] Constructors

AnnotInfo ( sym: Symbol )

[-] Members

[+] val sym : Symbol
[+] def deprecationMessage ( implicit ctx: Context ) : Option [ String ]
[+] def isDeprecated ( implicit ctx: Context ) : Boolean
[+] def migrationMessage ( implicit ctx: Context ) : Option [ Try [ ScalaVersion ] ]
[+] def migrationVersion ( implicit ctx: Context ) : Option [ Try [ ScalaVersion ] ]