new OutputEmitterFieldExtractor(outputTypes),
new ProcessMethodExtractor(inputTypes));
this.inputTypes = immutableCopyOf(inputTypes);
this.outputTypes = immutableCopyOf(outputTypes);
this.flowletSpec = new DefaultFlowletSpecification(flowlet.getClass().getName(),
flowletName == null ? flowletSpec.getName() : flowletName,
flowletSpec.getDescription(), flowletSpec.getFailurePolicy(),
properties, flowletSpec.getResources(),
flowletSpec.getMaxInstances());
}