diff options
author | Kato Kazuyoshi <kato.kazuyoshi@gmail.com> | 2011-08-03 16:12:01 +0000 |
---|---|---|
committer | Kato Kazuyoshi <kato.kazuyoshi@gmail.com> | 2011-08-03 16:12:01 +0000 |
commit | a1a870a72c74ec9cc5b9f449ba39292c78467e3b (patch) | |
tree | 1c825e03045e13fd9fb5a8f4fbbec6d26e447b95 /src/compiler/scala/tools/nsc/doc/model/Entity.scala | |
parent | 39ebbf6743d0b861096051286d7608ffc9736888 (diff) | |
download | scala-a1a870a72c74ec9cc5b9f449ba39292c78467e3b.tar.gz scala-a1a870a72c74ec9cc5b9f449ba39292c78467e3b.tar.bz2 scala-a1a870a72c74ec9cc5b9f449ba39292c78467e3b.zip |
Adds version information from @migration and @d...
Adds version information from @migration and @deprecated to ScalaDoc.
Adds support for @migration in Symbols and MemberEntity. Contributed by
Simon Ochsenreither. Review by heathermiller.
Diffstat (limited to 'src/compiler/scala/tools/nsc/doc/model/Entity.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/doc/model/Entity.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/model/Entity.scala b/src/compiler/scala/tools/nsc/doc/model/Entity.scala index a09194c2dd..813d0b2f2e 100644 --- a/src/compiler/scala/tools/nsc/doc/model/Entity.scala +++ b/src/compiler/scala/tools/nsc/doc/model/Entity.scala @@ -127,6 +127,9 @@ trait MemberEntity extends Entity { /** Some deprecation message if this member is deprecated, or none otherwise. */ def deprecation: Option[Body] + /** Some migration warning if this member has a migration annotation, or none otherwise. */ + def migration: Option[Body] + @deprecated("Use `inDefinitionTemplates` instead", "2.9.0") def inheritedFrom: List[TemplateEntity] |