static int span(ObjectType type) { Collection props = properties(type); if (props.isEmpty()) {
static int span(ObjectMap map) { List key = map.getKeyMappings(); if (key.isEmpty()) {
    static int span(ObjectType type) {        Collection props = properties(type);        if (props.isEmpty()) {            return 1;        } else {            int result = 0;            for (Iterator it = props.iterator(); it.hasNext(); ) {                Property prop = (Property) it.next();                result += span(prop.getType());            }            return result;        }    }