xsbt.api.Discovered.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zinc-apiinfo_2.13 Show documentation
Show all versions of zinc-apiinfo_2.13 Show documentation
Incremental compiler of Scala
/*
* Zinc - The incremental compiler for Scala.
* Copyright Scala Center, Lightbend, and Mark Harrah
*
* Licensed under Apache License 2.0
* SPDX-License-Identifier: Apache-2.0
*
* See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*/
package xsbt.api
final case class Discovered(
baseClasses: Set[String],
annotations: Set[String],
hasMain: Boolean,
isModule: Boolean
) {
def isEmpty = baseClasses.isEmpty && annotations.isEmpty
}
object Discovered {
def empty = new Discovered(Set.empty, Set.empty, false, false)
}