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
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_service | 0000000057 57 Bytes | |
_service:download_files:objenesis-1.3-bin.zip | 0000287452 281 KB | |
objenesis.changes | 0000000304 304 Bytes | |
objenesis.spec | 0000002895 2.83 KB |
Latest Revision
Peter Conrad (p_conrad)
committed
(revision 2)
- Fixed build dep for openSUSE >= 13.1
Comments 0