If you want a tool that can analyze and convert C, C ++ and Java, you can consider our DMS Software Reengineering Toolkit .
DMS analyzes the source code for the language, builds AST, allows you to apply procedural or template rewrites for these ACTs, and can restore the actual source code for modified programs. Source-to-source transformations are much easier to write than procedural ones, because you need to know much less about the structure of the tree for navigation / modification.
DMS Java, C, C99 ++ 11 , DMS , . C Java DMS , , . ++ DMS .
"" , , , .