Loads the module given by its fully qualified name.
Loads the module given by its fully qualified name.
The target object must either
The name *must not* include the trailing $
that is part of the module
name, as added by the Scala compiler.
Instantiates the class given by its fully qualified name.
Instantiates the class given by its fully qualified name.
The target class must either
In the former case, the overload is selected based on paramTypes
. In
the latter case, the overload is selected by the usual export overload
resolution mechanism.
Instantiates the class given by its fully qualified name.
Instantiates the class given by its fully qualified name.
The target class must be exported under its fully qualified name.
This overload of newInstance
cannot instantiate classes with an
ancestor annotated with
scala.scalajs.reflect.annotation.EnableReflectiveInstantiation.
Prefer using the other overload of newInstance
for new code, which
supports reflective instantiation in addition to exports-based
instantiation.
(Since version 0.6.15) Use the overload with explicit formal constructor parameter types.