问题
I want to generate interface from my model class in eclipse/intelij
generating from single class is quite easy
Right click --> Refactor --> generate interface
but the problem is i have 100's of classes.
is there any tool/plugin or script which can generate multiple interface in 1 go from a single package. or any maven plugin to do so.
http://mojo.codehaus.org/gwt-maven-plugin/generateAsync-mojo.html
here i got a plugin but it generate generateAsync
回答1:
Probably fastest way is write own simple application to do this operation.
来源:https://stackoverflow.com/questions/27015236/extract-interfaces-from-a-class