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
trait Serializable
trait Product
trait Equals
trait Import
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

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
Source
Product.scala
def productIterator: Iterator[Any]

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
Source
Product.scala