Location

dotty.tools.dotc.coverage.Location
See theLocation companion object
final case class Location(packageName: String, className: String, fullClassName: String, classType: String, methodName: String, sourcePath: Path)

Information about the location of a coverable piece of code.

Value parameters

className

name of the closest enclosing class

classType

"type" of the closest enclosing class: Class, Trait or Object

fullClassName

fully qualified name of the closest enclosing class

methodName

name of the closest enclosing method

packageName

name of the enclosing package

sourcePath

absolute path of the source file

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product