Skip to content

Bytecode Generator

avurro edited this page Mar 10, 2016 · 9 revisions

Since 1.4.0 Version

Javassist has known limits.
With this feature you have the possibility to implement your own solution using the library that you prefer.

By default, the library used to generate the source is Javassist, but if you want to use a custom solution follow this step:

  • create a package with name com.googlecode.jmapper.generation.impl
  • implement the interface ICodeGenerator
  • the generated class must implement the interface IMapper

For more clarification, look at the javassist implementation.

in short time will be released several implementations for the most known bytecode libraries

Clone this wiki locally