objenesis

v 1.1

Library for instantiating Java objects

It's pretty easy to instantiate objects in Java through standard reflection. However there are many cases where you need to go beyond what reflection provides. For example, if there's no public constructor, you want to bypass the constructor code, or set final fields. There are numerous clever (but fiddly) approaches to getting around this and this library provides a simple way to get at them.

https://code.google.com/p/objenesis/

To install objenesis, paste this in macOS terminal after installing MacPorts

sudo port install objenesis

Add to my watchlist

Installations 0
Requested Installations 0