AutoSetHook

izumi.distage.planning.AutoSetHook
See theAutoSetHook companion object
final case class AutoSetHook[BINDING](setName: Option[Identifier], weak: Boolean, includeOnly: InclusionPredicate, pos: CodePosition)(using evidence$1: Tag[BINDING]) extends PlanningHook

A hook that will collect all implementations with types that are

_  B -> C, close: C -> B -> A
   closeables.reverse.foreach(_.close())
 }

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait PlanningHook
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def hookDefinition(definition: ModuleBase): ModuleBase

Attributes

Definition Classes

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
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