Extract interfaces from a class

会有一股神秘感。 提交于 2019-12-14 03:13:51

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!