Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个类的空构造函数。我想删除构造函数,但是有很多地方我有这样的东西:
Klass my_klass = new Klass("");
如果可以的话,我想删除构造函数并让 Eclipse 自动重构。结果将如下所示:
Klass my_klass = new Klass();
Eclipse 有各种不错的重构特性。有这个吗?