全部搜索项
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: objenesis  ]

软件包:libobjenesis-java(3.3-3)

libobjenesis-java 的相关链接

Screenshot

Debian 的资源:

下载源码包 objenesis

维护小组:

外部的资源:

相似软件包:

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.

标签: 实做语言: Java, 角色: 共用函数库

下载 libobjenesis-java

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 40.4 kB76.0 kB [文件列表]