Skip to content
Sections
>> Trisquel >> パッケージ >> aramo >> java >> libobjenesis-java
etiona  ] [  etiona-security  ] [  etiona-updates  ] [  nabia  ] [  aramo  ]
[ ソース: objenesis  ]

パッケージ: libobjenesis-java (3.2-1)

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.

その他の libobjenesis-java 関連パッケージ

  • 依存
  • 推奨
  • 提案

libobjenesis-java のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 40.2 kB77 kB [ファイル一覧]