I am trying to generate java code using Jcodemodel.
How to generate required import statements using Jcodemodel?
How to automatically generate the implementation of interface methods when a class implements the interface?
eg:
interface Act { void act(); }
using Jcodemodel, how to generate the interface method in implementation class? whether do I need to write method using JMethod? Is there any other way to auto generate the implementation methods?
How to generate required imports for a class?
Kindly,guide me