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

xsbt.api.Discovered.scala Maven / Gradle / Ivy

There is a newer version: 1.10.4
Show newest version
/*
 * 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)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy