SimpleName name = factory.newSimpleName(
Naming.getReduceFragmentClass(fragment.getSerialNumber()));
importer.resolvePackageMember(name);
List<TypeBodyDeclaration> members = Lists.create();
members.addAll(connection.createFields());
ConstructorDeclaration ctor = connection.createConstructor(name);
List<MethodDeclaration> methods = Lists.create();
SimpleName value = names.create("value");
methods.add(createProcess(value));
methods.addAll(emit(value));
members.addAll(extraFields);