全部搜尋項
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 [檔案列表]