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