private Interface[] toInterfaces(Set set) { Class[] result = (Class[]) set.toArray(new Class[] {}); return util.interfaces(result); }
private Interface[] declaredInterfaces(Class cls) { Class[] ifaces = cls.getInterfaces(); return util.interfaces(ifaces); }