OpenPojo is a library that enables testing and enforcing POJO's behavior, as well as runtime identity management through deep introspection.

OpenPojo uses reflection to create meta-representation for POJO classes that can then be run through the extensible & configurable validation framework. Validation helps enforce structure of code (i.e. public fields, naming convention, etc), or behavior expectations (i.e. set/get only sets and gets without altering value).

In addition the library offers a utility, for runtime identity management (hashCode & equals) using field level annotation.

For more information please visit

Download latest build from here