组织导入Eclipse方法 [英] Organise Imports Eclipse Method
本文介绍了组织导入Eclipse方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
谢谢
解决方案
组织导入操作由 org.eclipse.jdt.ui.actions.OrganizeImportsAction
提供,反过来调用 org.eclipse.jdt.internal.corext.codemanipulation.OrganizeImportsOperation
。
I need to know which method is called inside eclipse when I press "CTRL+ SHIFT + O" (Organise Imports), in order to invoke it after a code generation. What the name of this method and where can I find it (Package.Interface)
Thanks
解决方案
"Organize Imports" action is contributed by org.eclipse.jdt.ui.actions.OrganizeImportsAction
, which, in turn, calls org.eclipse.jdt.internal.corext.codemanipulation.OrganizeImportsOperation
.
这篇关于组织导入Eclipse方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文