[英]Auto-generate Interface in eclipse
I have a class in eclipse and will write an interface for it. 我在eclipse中有一个类,并会为它编写一个接口。
Is it possible, just like when auto generating getter/setter, to auto generate an interface form the class? 是否有可能,就像自动生成getter / setter一样,自动生成类的接口?
I appreciate your answer!!! 我感谢你的回答!!!
btw my eclipse version is indigo... 顺便说一句我的日食版是靛蓝...
Alt + Shift + T和“Extract interface”
No need to click on only class name Just Right click any where in the class. 无需单击类名称只需右键单击类中的任何位置即可。 goto refractor select "Extract Interface" goto refractor选择“Extract Interface”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.