I have interface
public interface ObjectBuilder<E> {
E buildObject();
}
Also, the project has a lot of classes that implement non-generic version of the interface.
class MyClassBuilder implements ObjectBuilder {
public MyClass buildObject() {/**/}
}
Is it possible to auto convert all of these classes, so that they have implemented a generic version of the interface?
auto refactoring to this:
class MyClassBuilder implements ObjectBuilder<MyClass> {
public MyClass buildObject() {/**/}
}
Is there a built-in or plug-in Intellij IDEA? Or in other IDE?