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
IPackageFragmentRoot root= getPackageFragmentRoot();
		if (root != null) {
			if (root.getJavaProject().exists() && packName.length() > 0) {
				try {
					IPath rootPath= root.getPath();
					IPath outputPath= root.getJavaProject().getOutputLocation();
					if (rootPath.isPrefixOf(outputPath) && !rootPath.equals(outputPath)) {
						
						
						IPath packagePath= rootPath.append(packName.replace('.', '/'));
						if (outputPath.isPrefixOf(packagePath)) {
							status.setError(NewWizardMessages.getString("NewTypeWizardPage.error.ClashOutputLocation")); 
							return status;
						}
					}
				} catch (JavaModelException e) {
					JavaPlugin.log(e);
								
				}
			}
			
			fCurrPackage= root.getPackageFragment(packName);
		} else {
			status.setError(""); 
		}
		return status;
	}
	/*
	 * Updates the 'default' label next to the package field.
	 */