We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1e5b3c commit ea4e48bCopy full SHA for ea4e48b
src/main/scala/com/typesafe/genjavadoc/BasicTransform.scala
@@ -160,7 +160,7 @@ trait BasicTransform { this: TransformCake =>
160
private def deprecationInfo(d: ImplDef): Option[DeprecationInfo] = deprecationInfo(d.symbol)
161
private def deprecationInfo(symbol: Symbol): Option[DeprecationInfo] =
162
if (symbol.isDeprecated) {
163
- val deprec = symbol.annotations.find(_.toString contains "deprecated(").get
+ val deprec = symbol.getAnnotation(definitions.DeprecatedAttr).get
164
Some(DeprecationInfo(deprec.stringArg(0).getOrElse(""), deprec.stringArg(1).getOrElse("")))
165
} else None
166
0 commit comments