@Override protected ManifestFactory getManifestFactory(Config config) { if (config.constants().equals(Void.class)) { return super.getManifestFactory(config); } return new MyManifestFactory(config); }