Java library to instantiate a new object of a particular class
Objenesis is a small Java library that serves one purpose: to instantiate a
new object of a particular class.
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.
objenesis (1.2-1) unstable; urgency=low
* Initial release. (Closes: #573812)
-- Gabriele Giacone <firstname.lastname@example.org> Sun, 14 Mar 2010 03:37:49 +0100
Browse inside libobjenesis-java_1.2-1_all.deb
Results 1 - 1 of 1Search over 15 billion files
© 1997-2017 FileWatcher.com