diff --git a/shared/src/main/scala/io/kaitai/struct/format/ClassSpecs.scala b/shared/src/main/scala/io/kaitai/struct/format/ClassSpecs.scala index ec803d136..1ff5119d6 100644 --- a/shared/src/main/scala/io/kaitai/struct/format/ClassSpecs.scala +++ b/shared/src/main/scala/io/kaitai/struct/format/ClassSpecs.scala @@ -15,7 +15,7 @@ abstract class ClassSpecs(val firstSpec: ClassSpec) extends mutable.HashMap[Stri this(firstSpec.name.head) = firstSpec /** - * Calls certain function on all [[ClassSpec]] elements stored in this ClassSpecs, + * Calls certain function on all [[format.ClassSpec]] elements stored in this ClassSpecs, * and all subtypes stored in these elements, recursively. * * @param proc function to execute on every encountered type. @@ -24,7 +24,7 @@ abstract class ClassSpecs(val firstSpec: ClassSpec) extends mutable.HashMap[Stri forEachTopLevel((_, typeSpec) => typeSpec.forEachRec(proc)) /** - * Calls certain function on all top-level [[ClassSpec]] elements stored in this + * Calls certain function on all top-level [[format.ClassSpec]] elements stored in this * ClassSpecs. */ def forEachTopLevel[R](proc: (String, ClassSpec) => Unit): Unit = { @@ -39,7 +39,7 @@ abstract class ClassSpecs(val firstSpec: ClassSpec) extends mutable.HashMap[Stri } /** - * Calls certain function on all [[ClassSpec]] elements stored in this ClassSpecs, + * Calls certain function on all [[format.ClassSpec]] elements stored in this ClassSpecs, * and all subtypes stored in these elements, recursively. * * @param proc function to execute on every encountered type. @@ -48,7 +48,7 @@ abstract class ClassSpecs(val firstSpec: ClassSpec) extends mutable.HashMap[Stri mapTopLevel((_, typeSpec) => typeSpec.mapRec(proc)) /** - * Calls certain function on all top-level [[ClassSpec]] elements stored in this + * Calls certain function on all top-level [[format.ClassSpec]] elements stored in this * ClassSpecs. * * @param proc function to execute on every encountered type. diff --git a/shared/src/main/scala/io/kaitai/struct/translators/CommonMethods.scala b/shared/src/main/scala/io/kaitai/struct/translators/CommonMethods.scala index 6b177d35e..6061b22ba 100644 --- a/shared/src/main/scala/io/kaitai/struct/translators/CommonMethods.scala +++ b/shared/src/main/scala/io/kaitai/struct/translators/CommonMethods.scala @@ -152,7 +152,7 @@ abstract trait CommonMethods[T] extends TypeDetector { * of expression in certain target language. * @note Must be kept in sync with [[TypeDetector.detectAttributeType]] * @param call attribute call expression to translate - * @return result of translation as [[T]] + * @return result of translation as `T` */ def translateAttribute(call: Ast.expr.Attribute): T = { val attr = call.attr @@ -195,7 +195,7 @@ abstract trait CommonMethods[T] extends TypeDetector { * * @note Must be kept in sync with [[TypeDetector.detectCallType]] * @param call function call expression to translate - * @return result of translation as [[T]] + * @return result of translation as `T` */ def translateCall(call: Ast.expr.Call): T = { val func = call.func