Suppose I have:
trait A{
println("A")
}
Now I want to inherit this trait in my Java code:
class B implements A {}
It looks like constructor of trait A
is not going to be executed.
Is it possible to force constructor of trait A
to be executed in scope of class B
?