WildcardImport

zio.blocks.codegen.ir.Import.WildcardImport
final case class WildcardImport(path: String) extends Import

A wildcard import that imports all members of a package.

Value parameters

path

The package path (e.g., "com.example")

Attributes

Example
val imp = WildcardImport("com.example")
// Represents: import com.example._ (Scala 2) or import com.example.* (Scala 3)
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