Eclipse Java类中添加所有需要的import 包引用,清除所有无效的引用 快捷键

Ctrl+shift+O

原文地址:https://www.cnblogs.com/dirgo/p/9453922.html