ModelFactory f = context.getModelFactory();
List<Annotation> eTerms = Lists.create();
for (ReduceTerm<?> term : trait.getTerms()) {
ClassLiteral source = f.newClassLiteral(context.resolve(term.getSource()));
ArrayInitializer mappings = toMappings(context, term.getMappings());
Annotation shuffle = toKey(context, term);
eTerms.addAll(new AttributeBuilder(f)
.annotation(context.resolve(Summarized.Term.class),
"source", source, //$NON-NLS-1$
"foldings", mappings, //$NON-NLS-1$