Object instantiation helper library
http://www.objenesis.org/
Java already supports this dynamic instantiation of classes using Class.newInstance(). However, this only works if the class has an appropriate constructor. There are many times when a class cannot be instantiated this way, such as when the class contains:
* Constructors that require arguments.
* Constructors that have side effects.
* Constructors that throw exceptions.
As a result, it is common to see restrictions in libraries stating that classes must require a default constructor. Objenesis aims to overcomes these restrictions by bypassing the constructor on object instantiation.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:p_conrad:java/objenesis && cd $_ - Create Badge
Refresh
Source Files
| Filename | Size | Changed |
|---|---|---|
| _service | 0000000057 57 Bytes | |
| objenesis.changes | 0000000304 304 Bytes | |
| objenesis.spec | 0000002895 2.83 KB |
Comments 0