todas as opções
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Fonte: objenesis  ]

Pacote: libobjenesis-java (3.4-2)

Links para libobjenesis-java

Screenshot

Recursos de Debian:

Baixe o pacote-fonte objenesis:

Mantenedores(as):

Fontes externas:

Pacotes similares:

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.

Etiquetas: Implementado em: Java, Função: Biblioteca compartilhada

Download de libobjenesis-java

Baixe para todas as arquiteturas disponíveis
Arquitetura Tamanho do pacote Tamanho instalado Arquivos
all 40.3 kB75.0 kB [lista de arquivos]