if (list.add(curr)) {
if (list.add(curr.getTypeDeclaration())) {
	private void collectSuperTypes(ITypeBinding curr, List list) {		if (list.add(curr)) {			ITypeBinding[] interfaces= curr.getInterfaces();			for (int i= 0; i < interfaces.length; i++) {				collectSuperTypes(interfaces[i], list);			}			ITypeBinding superClass= curr.getSuperclass();			if (superClass != null) {				collectSuperTypes(superClass, list);			}		}	}