All Downloads are FREE. Search and download functionalities are using the official Maven repository.

flatgraph.help.DocSearchPackages.scala Maven / Gradle / Ivy

There is a newer version: 0.0.91
Show newest version
package flatgraph.help

/** defines where we should search for @Traversal/@TraversalSource/@Doc annotations */
trait DocSearchPackages {
  def apply(): Seq[String]

  def withAdditionalPackage(packageName: String): DocSearchPackages = {
    val combinedPackages = this.apply() :+ packageName
    () => combinedPackages
  }
}

object DocSearchPackages {

  /** don't scan anywhere other than flatgraph */
  val default: DocSearchPackages = () => List("flatgraph")

  def apply(searchPackages: String*): DocSearchPackages =
    () => searchPackages
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy