querydsl / codegen

Java/Scala Code generation tool
Apache License 2.0
23 stars 22 forks source link

Fix regression: wrong method chosen as evaluator #11

Closed mcuelenaere closed 11 years ago

mcuelenaere commented 11 years ago

Some Java instrumentation tools (e.g. JaCoCo) insert code into classes at runtime. This means that the static eval() method could not be the first method of our runtime generated classes anymore.

Fix this by explicitly looking for the eval() method.

timowest commented 11 years ago

Thanks for the fix. Much appreciated.