Bug 90082 [1.5][generics] "New Class" wizard is not able to implement generic interfaces
In Eclipse 3.1 (JDT version I20050219-1500), the wizard for creating a new class seems unable to implement generic interfaces while specifying its argument. For example, implementing Comparable<Integer> is impossible; you have to first implement Comparable, and then correct the genearted stub for specifying its type argument. (in this example, replacing the Object argument of comparesTo by Integer.)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
Type type= (Type) selected;
			
			String typeNodeRange= cuBuff.substring(type.getStartPosition(), ASTNodes.getExclusiveEnd(type));
			if (! sclassName.equals(typeNodeRange)){
				status.setError(NewWizardMessages.getString("NewTypeWizardPage.error.InvalidSuperClassName")); 
				return status;
			}
			
			if (type instanceof ParameterizedType && ! JavaModelUtil.is50OrHigher(root.getJavaProject())) {
				status.setError(NewWizardMessages.getString("NewTypeWizardPage.error.SuperClassNotParameterized")); 
				return status;
			}
		} else {
			status.setError(""); 
		}
		return status;
	}
	private StubTypeContext getSuperClassStubTypeContext() {
		if (fSuperClassStubTypeContext != null)
			return fSuperClassStubTypeContext;
		
		StubTypeContext stubTypeContext;
		String typeName= fCurrType != null ? fCurrType.getElementName() : JavaTypeCompletionProcessor.DUMMY_CLASS_NAME;
		String prolog= "class " + typeName + " extends "; 
		String epilog= " {} "; 
		
		
		if (isEnclosingTypeSelected() && fCurrEnclosingType != null) {
			try {
				ICompilationUnit cu= fCurrEnclosingType.getCompilationUnit();