GroupImport
zio.blocks.codegen.ir.Import.GroupImport
final case class GroupImport(path: String, names: List[String]) extends Import
A group import that imports multiple names from a package.
Value parameters
- names
-
The imported names (e.g., List("Foo", "Bar"))
- path
-
The package path (e.g., "com.example")
Attributes
- Example
-
val imp = GroupImport("com.example", List("Foo", "Bar")) // Represents: import com.example.{Foo, Bar} - Source
- Import.scala
- Graph
-
- Supertypes
Members list
In this article