Makes an ModuleInitializer that calls a zero-argument method returning
Unit
in a top-level object
.
Makes an ModuleInitializer that calls a zero-argument method returning
Unit
in a top-level object
.
The fully-qualified name of the module class, e.g., "foo.bar.Babar"
.
Note that it does not end with $
.
The name of the main method to invoke, e.g., "main"
.
Makes an ModuleInitializer that calls a method of a top-level
object
, taking an Array[String]
and returning Unit
.
Makes an ModuleInitializer that calls a method of a top-level
object
, taking an Array[String]
and returning Unit
.
An array containing the specified args
is passed as argument.
The fully-qualified name of the module class, e.g., "foo.bar.Babar"
.
Note that it does not end with $
.
The name of the main method to invoke, e.g., "main"
.
The arguments to pass as an array.
Makes an ModuleInitializer that calls a method of a top-level
object
, taking an Array[String]
and returning Unit
.
Makes an ModuleInitializer that calls a method of a top-level
object
, taking an Array[String]
and returning Unit
.
An empty array is passed as argument.
The fully-qualified name of the module class, e.g., "foo.bar.Babar"
.
Note that it does not end with $
.
The name of the main method to invoke, e.g., "main"
.
Factory for ModuleInitializers.