我有一堆类,其中包含带有未使用参数的构造函数。比如这个:
class Book {
String author;
String title;
public Book(String author, String title, int numberOfPages) {
this.author = author;
this.title = title;
}
}
Eclipse 是否提供任何方法来自动删除多个文件中这些未使用的参数?手动删除它们需要几个小时。