subs = getClassNames(os, clsName);
subs = getClassNames(model, clsName);
    public static Set expandPath(ObjectStore os, String path) {        Set paths = new LinkedHashSet();            String clsName;        String refName = "";        int refEnd = 0;        if (path.indexOf(' ') != -1) {            int clsEnd = path.indexOf(' ');            clsName = path.substring(0, clsEnd);            refEnd = path.indexOf(' ', clsEnd + 1);            refName = path.substring(clsEnd, refEnd);        } else {            // at end, this is last clsName            clsName = path;        }            Set subs;        try {            subs = getClassNames(os, clsName);        } catch (IllegalArgumentException e) {            throw new BuildException("Cannot find class names", e);        }        Iterator subIter = subs.iterator();        while (subIter.hasNext()) {            String subName = (String) subIter.next();            Set nextPaths = new LinkedHashSet();            if (refName != "") {                nextPaths.addAll(expandPath(os, path.substring(refEnd + 1).trim()));            } else {                nextPaths.addAll(subs);                return nextPaths;            }            Iterator pathIter = nextPaths.iterator();            while (pathIter.hasNext()) {                String nextPath = (String) pathIter.next();                paths.add((subName + refName + " " + nextPath).trim());            }        }        return paths;    }