Location

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

Information about the location of a coverable piece of code.

Attributes

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

method

name of the closest enclosing method

packageName

name of the enclosing package

sourcePath

absolute path of the source file

Companion:
object
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product