ClassOperations
This trait provides functions to instantiate classes
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
Value members
Abstract 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
Attributes
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
Attributes
Attributes
- Returns
-
true if a class can be loaded
Load a class, given the class name
Load a class, given the class name