scala> class Blah extends DelayedInit {
| def delayedInit(init: => Unit) {
| println("before init")
| init
| println("after init")
| }
| println("init")
| }
defined class Blah
scala> new Blah
before init
init
after init
res0: Blah = Blah@11ace672