| Paketname | libobjenesis-java-doc |
| Beschreibung | Documentation for Objenesis |
| Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
| Version | 1.2-1 |
| Sektion | doc |
| Priorität | optional |
| Installierte Größe | 812 Byte |
| Hängt ab von | |
| Empfohlene Pakete | |
| Paketbetreuer | Debian Java Maintainers |
| Quelle | objenesis |
| Paketgröße | 37360 Byte |
| Prüfsumme MD5 | c0e1d75b0ccb543d5569cd71118c2f20 |
| Prüfsumme SHA1 | deab8a4bd75219228f59a3e319b22421d1eadf6f |
| Prüfsumme SHA256 | 8c5e0721fdab99e7dd02d459586a6c1281c16a7a06de0e875af4f6c8e701a435 |
| Link zum Herunterladen | libobjenesis-java-doc_1.2-1_all.deb |
| Ausführliche Beschreibung | 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.
.
This is the API documentation for Objenesis
|