public static void saveTemplates(final String[] classNames)
            throws IOException, ClassNotFoundException {
        // TODO #MN
        TemplateRegistry registry = new TemplateRegistry(null);
        List<String> ret = new ArrayList<String>();
        for (String className : classNames) {
            matchClassNames(ret, className);
        }
        List<Class<?>> ret0 = toClass(ret);
        for (Class<?> c : ret0) {
            saveTemplateClass(registry, c);
        }
    }