Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> doc >> libobjenesis-java-doc
etiona  ] [  etiona-security  ] [  etiona-updates  ] [  nabia  ] [  aramo  ]
[ 原始碼: objenesis  ]

套件: libobjenesis-java-doc (2.6-1)

Documentation for Objenesis

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

其他與 libobjenesis-java-doc 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: default-jdk-doc
    Standard Java or Java compatible Development Kit (documentation)
  • sug: libobjenesis-java
    Java library to instantiate a new object of a particular class

下載 libobjenesis-java-doc

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 46.8 kB1301 kB [文件列表]