This trait provides functions to instantiate classes
This trait provides functions to instantiate classes
- Companion
- object
Value members
Concrete methods
try to create an instance but return an exception if this is not possible
try to create an instance but return an exception if this is not possible
Try to create an instance of a given class by using whatever constructor is available and trying to instantiate the first parameter recursively if there is a parameter for that constructor.
Try to create an instance of a given class by using whatever constructor is available and trying to instantiate the first parameter recursively if there is a parameter for that constructor.
This is useful to instantiate nested classes which are referencing their outer class in their constructor
Load a class, given the class name
Load a class, given the class name