restygwt/src/main/java/org/fusesource/restygwt/rebind/ModelChangeAnnotationResolver.java
@SuppressWarnings("rawtypes")
    private String[] getAnnotationsAsStringArray(Class[] classes) {
        if (null == classes) {
            return null;
        }

        List<String> ret = new ArrayList<String>();

        for (Class c : classes) {
            ret.add(c.getName());
        }

        return ret.toArray(new String[ret.size()]);
    }
@SuppressWarnings("rawtypes")
    private String[] getAnnotationsAsStringArray(Class[] classes) {
        if (null == classes) {
            return null;
        }

        List<String> ret = new ArrayList<String>();

        for (Class c : classes) {
            ret.add(c.getName());
        }

        return ret.toArray(new String[ret.size()]);
    }
convert an array of classes to an array of strings to be usable in js context.

@param classes
@return