Skip to content
Sections
>> Trisquel >> Пакети >> etiona-security >> doc >> libobjenesis-java-doc
etiona  ] [  etiona-security  ] [  etiona-updates  ] [  nabia  ] [  aramo  ]
[ Източник: objenesis  ]

Пакет: libobjenesis-java-doc (3.0.1-2~18.04)

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 274,9 кБ2554 кБ [списък на файловете]