When you implement an interface in eclipse, it has a really nice feature that allows you to "add unrealized methods" and will generate method stubs for interface methods.
However, it does not carry documentation on the method from the interface methods, and I was wondering if there is a way to get an eclipse for this.
Here is what I want. Let's say I had this interface:
public interface BaseInterface { int method1(String x); }
Now I am creating a MyClass class that implements this interface. I want that when I say "Add unrealized methods", I want my code to look like this:
public class MyClass implements BaseInterface { public int method1(String x) { return 0; } }
java eclipse code-generation
dcp
source share