trait
Rewriter extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
modify[G, T](f: (T) ⇒ T, graph: G)(implicit arg0: ClassTag[T]): G
-
def
modifyWith[G, T](f: PartialFunction[T, T], graph: G)(implicit arg0: ClassTag[T]): G
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
replace[S, G](s: S, graph: G)(implicit arg0: ClassTag[S]): G
-
def
replaceFirst[S, G](s: S, graph: G)(implicit arg0: ClassTag[S]): G
-
def
replaceStrategy[S](s: S)(implicit arg0: ClassTag[S]): Strategy
-
def
replaceWith[G, T](s: PartialFunction[T, Option[T]], graph: G): G
-
def
rewriteFirstWithStrategy[G](strategy: Strategy, graph: G): G
-
def
rewriteWithStrategy[G](strategy: Strategy, graph: G): G
-
def
singleton[S, G](graph: G)(implicit arg0: ClassTag[S]): G
-
def
singletonStrategy[S](implicit tag: ClassTag[S]): Strategy
-
def
singletons[G](predicate: (Any) ⇒ Boolean)(graph: G): G
-
def
singletons[G](graph: G): G
-
def
singletonsStrategy(predicate: (Any) ⇒ Boolean): Strategy
-
def
start[G](graph: G): Eval[List[StartResult]]
-
def
stop[G](graph: G): Eval[List[StopResult]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
topBreadthfirst(s: Strategy): Strategy
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Functions for rewriting parts of an object graph representing services or configuration with different implementations.
This is used for "Dependency Injection" to replace some service implementations with other implementations.