Anyone using "Convert to Java" from groovy-code?

已回答

Anyone using "Convert to Java" from groovy-code?

I'm trying to get rid of old groovy-classes by using the "Convert to Java" feature in IntelliJ.

However, the output is really terrible. It generates code -- supposedly "java" -- but with tons of compilation-errors and super-complicated rewrites, and not even valid java-syntax.

Is this feature really as horribly bad as it looks?  
  Or am I just missing something essential?

Can I somehow configure it how to translate specific code-patterns?

Any documentation of how to get this feature useful?

0
Hi, would it be possible for you to share a demo project or a code sample and describe the problems using that as an example?
You can upload the project privately to https://uploads.jetbrains.com, and provide the upload id here.
0

请先登录再写评论。