Bug 52064 Content assist in "New Class" Dialog shows interfaces
Content Assist is available for the superclass in M7. However it also lists interfaces. If an interface is selected, the generated class "extends" it instead of "implementing" it.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
type= jproject.findType(res[0][0], res[0][1]);
				}
			}
		} else {
			IPackageFragment currPack= getPackageFragment();
			if (type == null && currPack != null) {
				String packName= currPack.getElementName();
				
				if (!currPack.isDefaultPackage()) {
					type= jproject.findType(packName, sclassName);
				}
				
				if (type == null && !"java.lang".equals(packName)) { 
					type= jproject.findType("java.lang", sclassName); 
				}
			}
			
			if (type == null) {
				type= jproject.findType(sclassName);
			}
		}
		return type;
	}
	
	private IType findType(IJavaProject project, String typeName) throws JavaModelException {
		if (project.exists()) {
			return project.findType(typeName);
		}
		return null;
	}