final class DetectedModules[T] extends AnyRef
Auto-detected top-level modules (as in object X
) of type T
paired with their source names.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DetectedModules
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new DetectedModules(modules: Seq[(String, T)])
Value Members
- val modules: Seq[(String, T)]
-
def
names: Seq[String]
The source names of the modules.
The source names of the modules. This is "X" in
object X
, as opposed to the implementation class name "X$". The names are returned in a stable order such thatnames zip values
pairs a name with the actual module. -
def
values: Seq[T]
The singleton value of the module.
The singleton value of the module. The values are returned in a stable order such that
names zip values
pairs a name with the actual module.