Community
Participate
Working Groups
If a field with generics is defined then the editor is able to autocomplete the generics of the type when a constructor type is selected. Example: I type "List<Action> actions = new ArrayL", then I press ctrl-space and select the ArrayList type. Then the editor completes then line with the following result: List<Action> actions = new ArrayList<Action>() This is fine, but the behavior is wrong when a fully qualified type is used in the generics declaration. For example in the current code I have two types with the name Action and I want to create a list of the type which is not imported and should be used fully qualified: "List<mypackage.Action> actions = new ArrayL" is wrongly expanded to "List<mypackage.Action> actions = new ArrayList<Action>()". The expected behavior is that the following result: "List<mypackage.Action> actions = new ArrayList<mypackage.Action>()" -- Configuration Details -- Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.java.product) Installed Features: org.eclipse.jdt 3.6.1.r361_v20100714-0800-7z8XFUSFLFlmgLc5z-Bvrt8-HVkH
This never worked.
*** Bug 352587 has been marked as a duplicate of this bug. ***
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. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. 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.