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

Bug 356282

Summary: [content assist] Generic Types and static members don't work well together
Product: [Eclipse Project] JDT Reporter: Johannes Rieken <johannes_rieken>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 3.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Johannes Rieken CLA 2011-08-31 03:33:10 EDT
Build Identifier: 3.7

Types with generics always include the generic type even though not needed when invoking a state method

Reproducible: Always

Steps to Reproduce:
1. Have the following CU


public class CU<T> {
	
	static void m() {
		
	}
	
	public static void main(String[] args) {
		
	}
}


2. In the main method type 'CU' and invoke content assist (Ctrl+Space)
> Proposals include CU<T> only, not CU.m()
Comment 1 Dani Megert CLA 2011-08-31 08:05:33 EDT

*** This bug has been marked as a duplicate of bug 301990 ***