while (!innerClass.equals(DomainObject_Base.class)
while (innerClass != null && !innerClass.equals(DomainObject_Base.class)
	private List<Class> getInterfaces(Class thisClass) {		List<Class> result = new ArrayList<Class>();		Class innerClass = thisClass;		while (!innerClass.equals(DomainObject_Base.class)				&& !innerClass.equals(DomainObject.class)) {			if (innerClass.getInterfaces().length != 0) {				result.addAll(Arrays.asList(innerClass.getInterfaces()));			}			innerClass = innerClass.getSuperclass();		}		return result;	}