protected Class<?>[] getInterfaces(Class<?>[] types) {
		//
		List<Class<?>> all = new ArrayList<Class<?>>();
		for (int t = 0; t < types.length; t++) {
			Class<?>[] interfaces = types[t].getInterfaces();
			for (int y = 0; y < interfaces.length; y++) {
				if (myCFG.isInterfaceExposedBy(types[t], interfaces[y]))
					all.add(interfaces[y]);
			}
		}
		//
		return all.toArray(new Class<?>[all.size()]);
	}