toutes les options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Paquet source : objenesis  ]

Paquet : libobjenesis-java (3.0.1-2)

Liens pour libobjenesis-java

Screenshot

Ressources Debian :

Télécharger le paquet source objenesis :

Responsables :

Ressources externes :

Paquets similaires :

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.

Étiquettes: Mis en œuvre en: Java, Rôle: Bibliothèque partagée

Autres paquets associés à libobjenesis-java

  • dépendances
  • recommandations
  • suggestions
  • enhances

Télécharger libobjenesis-java

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
all 51,3 ko87,0 ko [liste des fichiers]