2010-07-17 18:07:41 +02:00
|
|
|
/* sbt -- Simple Build Tool
|
|
|
|
|
* Copyright 2010 Mark Harrah
|
|
|
|
|
*/
|
2011-10-06 00:09:27 +02:00
|
|
|
package xsbt.api
|
2010-07-17 18:07:41 +02:00
|
|
|
|
|
|
|
|
final case class Discovered(baseClasses: Set[String], annotations: Set[String], hasMain: Boolean, isModule: Boolean)
|
2010-07-28 05:01:45 +02:00
|
|
|
{
|
|
|
|
|
def isEmpty = baseClasses.isEmpty && annotations.isEmpty
|
|
|
|
|
}
|
2010-07-17 18:07:41 +02:00
|
|
|
object Discovered
|
|
|
|
|
{
|
|
|
|
|
def empty = new Discovered(Set.empty, Set.empty, false, false)
|
|
|
|
|
}
|