List superInterfaces = new ArrayList();  for (Iterator i = getSuperTypes(fProblemPos).iterator(); i.hasNext();) { ITypeBinding type = (ITypeBinding) i.next();  if (type.isClass()) { page.setSuperClass(Bindings.getFullyQualifiedName(type), true); } else if (type.isInterface()) { superInterfaces.add(Bindings.getFullyQualifiedName(type)); }
ITypeBinding type= ASTResolving.guessBindingForTypeReference(fNode, true); if (type != null) { if (type.isArray()) { type= type.getElementType(); } if (type.isTopLevel() || type.isMember()) { if (type.isClass() && fIsClass) { page.setSuperClass(Bindings.getFullyQualifiedName(type), true); } else if (type.isInterface()) { List superInterfaces = new ArrayList(); superInterfaces.add(Bindings.getFullyQualifiedName(type)); page.setSuperInterfaces(superInterfaces, true); } }
	private void fillInWizardPageSuperTypes(NewTypeWizardPage page) {        List superInterfaces = new ArrayList();        		for (Iterator i = getSuperTypes(fProblemPos).iterator(); i.hasNext();) {			ITypeBinding type = (ITypeBinding) i.next();                        		    if (type.isClass()) {		        page.setSuperClass(Bindings.getFullyQualifiedName(type), true);		    } else if (type.isInterface()) {				superInterfaces.add(Bindings.getFullyQualifiedName(type));		    }		}                page.setSuperInterfaces(superInterfaces, true);	}