File: control

package info (click to toggle)
objenesis 3.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,160 kB
  • sloc: java: 3,934; xml: 1,687; jsp: 67; sh: 56; makefile: 2
file content (36 lines) | stat: -rw-r--r-- 1,430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Source: objenesis
Section: java
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Markus Koschany <apo@debian.org>
Build-Depends:
 debhelper-compat (= 13),
 default-jdk,
 junit4,
 libmaven-bundle-plugin-java,
 libmaven-enforcer-plugin-java,
 maven-debian-helper (>= 1.4)
Standards-Version: 4.6.2
Vcs-Git: https://salsa.debian.org/java-team/objenesis.git
Vcs-Browser: https://salsa.debian.org/java-team/objenesis
Homepage: http://www.objenesis.org/

Package: libobjenesis-java
Architecture: all
Depends: ${maven:Depends}, ${misc:Depends}
Recommends: ${maven:OptionalDepends}
Description: 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.