Community
Participate
Working Groups
Consider the following stub: ---------------------------------------------- import java.util.AbstractList; public class Test extends AbstractList<Object> { // Incomplete constructor here public T @Override public Object get(int index) { return null; } @Override public int size() { return 0; } } ---------------------------------------------- When I hit Ctrl+Space on "public T", I'm presented with the option to generate a constructor. The result is the following: ---------------------------------------------- import java.util.AbstractList; public class Test extends AbstractList<Object> { public public Test() {} @Override public Object get(int index) { return null; } @Override public int size() { return 0; } } ---------------------------------------------- I would expect auto completion to understand that there is already a visibility modifier, and not generate another one. Note, the AbstractList extension and the additional methods seem to have been necessary for the constructor generation template to be available. This might be a bug / missing feature per se, not sure.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
This is still happening