Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 149454

Summary: [1.5][assist] expected type not available when completing from within type arguments
Product: [Eclipse Project] JDT Reporter: Tom Hofmann <eclipse>
Component: CoreAssignee: David Audel <david_audel>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard: stalebug

Description Tom Hofmann CLA 2006-07-03 08:59:28 EDT
I20060627 (or so)

- consider the snippet below
- invoke code completion at the two locations ( | )
- at the first location, the received context contains an expected type signature for List<+String>, at the second, only java.lang.Object is given as expected type.

------ Expected.java ---------
import java.util.ArrayList;
import java.util.List;

public class Expected {
    void m(List < ? extends String > strings) {
        strings= new ArrayList|<|String>();
    }
}
-------------------------------
Comment 1 Eclipse Genie CLA 2019-05-05 13:57:52 EDT
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.