There is a question about invoking scala in scala but I want to do it in java.
How does this line translate to java?
val run = new g.Run
Assuming that g: G
and that new G
is the same as new G()
(no implicit parameters) then I guess something like:
final G.Run run = g.new Run();
(I expect path dependent types to degenerate into nested classes)?