Community
Participate
Working Groups
I am trying to map an entity list using an attribute as the key but auto complete considers entity as Object type and only shows Object methods. When I type the method name no errors shown though. void method(List<CustomTable> tables) { private Map<String, CustomTable> tablesMap; tablesMap = tables.stream().collect(Collectors.toMap(t -> t.getName(), t -> t)); } This code works but auto complete does not show options for CustomTable entity but only from Object type.
I am using 4.6 RC3 of Java EE Edition
Do you know in which eclipse version this issue was fixed? I have the same issue withe the auto complete of: mapEx =mapEx.entrySet().stream.collect(Collectors.toMap(e->e.getKey.substring(0,8),e->e.getValue));
(In reply to Zohar Cohen from comment #2) > Do you know in which eclipse version this issue was fixed? Who said it is fixed?
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.