Transmorph is a Java library used to convert a Java object of one type into an object of another type (with another signature, possibly parameterized). It supports conversion for primitives and objects, conversion to multidimensional arrays, conversion to parameterized collections and types, and jars for JDK 1.4 and JDK 1.5. It has no dependencies. It is easy to add more converters. It can convert to a type given either its Java type (class) or signature.
License: The Apache License 2.0
Changes:
It is now possible to use any class implementing ITypeSignatureParser to parse the type signature. There are three parsers available for now: ClassFileTypeSignatureParser for parsing type signatures using the Java class file signature specification, ClassGetNameTypeSignatureParser for parsing type signatures returned by Class.getName(), and JavaSyntaxTypeSignatureParser for parsing type signatures as in Java source code. This parser also supports imports.
More...