Map<Class<?>, Term> terms = Maps.create();
for (Term term : joined.terms()) {
terms.put(term.source(), term);
}
for (FlowElementPortDescription output : context.getOperatorDescription().getOutputPorts()) {
Term term = terms.get(output.getDataType());
assert term != null;
emitTerm(context, term, inputPort, output);
}
}